Sounds like you are not using either auto-acknowledgement, message
acknowledgement or transactions.

Until you are a bit more comfortable with the JMS API you might wanna
try Lingo which hides the JMS API from you behind a simple POJO API

http://lingo.codehaus.org/

On 12/12/06, Prachi Munjal <[EMAIL PROTECTED]> wrote:

Hi, I have started using Active mq just few days back. what i am trying to
make is a request response program in Java using Active Mq.
Both Producer and consumer implements a message listener and my producer
sends a message on a queue which is received by the consumer, Producer also
creates a temporary queue and sets setJMSReplyTo property of the message
before sending it. Consumer then creates a response and send it back to
producer (on the temporary queue set by the producer) but producer does not
receive it.

Also when i re-start the consumer again without stopping the activemq the
consumer receives the same msgs again that were sent to it in the previous
run. I have set durability and persistence as False. Please suggest me a
solution for these 2 problems.

Thanks in advance.
--
View this message in context: 
http://www.nabble.com/Request-Response-tf2808416.html#a7836102
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.




--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to