Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

MessageListener behaviour

jef_2802Sep 17 2011
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

Comments

Mika14

check to make sure your /etc/hosts file is correct

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 15 2011
Added on Sep 17 2011
0 comments
139 views