Listeners and Transactional Connections
A listener that is associated with a transactional connection exhibits the following behavior:
The Listener monitors the queue.
The Listener receives a message. (
WebSphere MQ Adapter tags this message as unavailable, but the adapter does not remove the message from the queue.)
If the message matches all of the selection criteria for any notification, then the notification processes the message.
If the notification processes the message, then the Listener commits the message. (
WebSphere MQ Adapter removes the message from the queue.)
If no notification processes the message, then the Listener rolls back the message. (
WebSphere MQ Adapter tags this message as available.)