WebLogic Messaging API Class Library

IMessageConsumer.MessageEventHandler Event

Gets the message consumer's MessageEventHandler.

event  Message;

Event Data

The event handler receives an argument of type MessageEventArgs containing data related to this event. The following MessageEventArgs property provides information specific to this event.

Property Description
Message Gets the IMessage instance passed by sender.

Remarks

This event allows only a single listener and only the last registered listener will be used for notification. All of the old listeners will not be notified of the event.

Exceptions

Exception Type Condition
MessageException if the call fails due to some internal error.
MessageException if the call fails due to some internal error.

See Also

IMessageConsumer Interface | WebLogic.Messaging Namespace | Message