activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Request Response
Date Tue, 12 Dec 2006 16:34:28 GMT
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

On 12/12/06, Prachi Munjal <> 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:
> Sent from the ActiveMQ - Dev mailing list archive at



View raw message