WebLogic Messaging API Class Library |

# MessageEventHandler Delegate

Message event delegate.

A `MessageEventHandler` delegate object is used to receive asynchronously delivered messages.

Each session must insure that it passes messages serially to the listener. This means that a listener assigned to one or more consumers of the same session can assume that the `onMessage` method is not called with the next message until the session has completed the last call.

`IMessageConsumer` message sender`MessageEventArgs` is the message passed to the listener
public delegate void MessageEventHandler(
IMessageConsumer sender,
MessageEventArgs args
);

#### Requirements

Namespace: WebLogic.Messaging

Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)

#### See Also

WebLogic.Messaging Namespace