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 single listener and only last registered listener will be used for notification. All the old listeners will not be notified for the event

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to get the message listener due to some internal error.
MessageException if the JMS provider fails to set the message listener due to some internal error.

See Also

IMessageConsumer Interface | WebLogic.Messaging Namespace | Message