0 Replies Latest reply: Sep 17, 2011 3:22 AM by jfk RSS

    MessageListener behaviour

    jfk
      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