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