MQConnection signals the following events, all of which are handled
by the ConnectionManager class:
- message, when data arrives. The event contains a hash table with the following
two elements:
- message: The MQMessage received
- queue: The name of the queue that contains the received message, including
the deadletter queue
- opened, when the connection is opened
- closed, when the connection is closed
- errorReceived, when an error is produced in the asynchronous receive process
See Customizing
event management for information on the default behavior of the handler
for these events.