Forum Stats

  • 3,760,204 Users
  • 2,251,664 Discussions
  • 7,871,021 Comments

Discussions

MessageListener behaviour

Hi,

We use a java application that implements the JMS MessageListener interface to process messages received in a WMQ queue.
In order to improve performance we decided to start 2 instances of the consumer processes, so 2 Message Listeners on the same queue. But we noticed that the messages were processed twice, is there a means to avoid messages being processed twice so that a message is consumed by only one message listener ?

Thanks
This discussion has been closed.