Gets the message consumer's MessageEventHandler.
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. |
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.
| Exception Type | Condition |
|---|---|
| MessageException | if the call fails due to some internal error. |
| MessageException | if the call fails due to some internal error. |
IMessageConsumer Interface | WebLogic.Messaging Namespace | Message