I have configured an MDB in WAS 5 to listen to messages on MQ queue using listener ports. Following is done: 1. Configured a listener port to define the connection factory and destinations 2. Configured MQ connection factory 3. Configured MQ destinations
Created a Queue in Websphere MQ queue and entered the same in MQ destinations above.
Everything is working fine i.e. when a message is "put" on MQ it triggers the onMessage and the appropriate action is taken, but after completion the message still remains on queue.
I have set the persistence option for queue to "non persistent". Also the persistent and priority in MQ destinations configuration in WAS is set to queue defined.