activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NizarK <>
Subject Request/ Response Pattern
Date Sat, 07 Jun 2008 07:07:20 GMT

Hi ! 
I have a problem with implementing Request /response Pattern with JMS ...
I have one queue on wich many object instances make request/response
operations ..
The problem is how a requester , when retrieving a response from the queue ,
can only get from the queue the response with the right CorrelationID and
leave all the others in the queue ...
I Tried with setting ack mode to CLIENT.ACKNOWLEDGE but when i do a
msg.acknowledge() , all the messages consumed in the session are retrieved
and the queue becomes empty ...
Any solutions please ???
View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message