activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NizarK <nizarkl...@lycos.com>
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: http://www.nabble.com/Request--Response-Pattern-tp17706032s2354p17706032.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message