To customize MQ Connector event management, extend the ConnectionHandler
class and override the following methods:
- message(MQConnectionService). MQ Connection signals this event when it
receives a message from the WebSphere® MQ reply queue. The event contains the
MQMessage received. The default behavior is to read the message.
- error(MQConnectionService). The default behavior is to do nothing.
- closed(MQConnectionService). The default behavior is to do nothing.
- opened(MQConnectionService). The default behavior is to do nothing.
See Event
notification for the list of events triggered by this service.