activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Producer to Topic with Consumer down, the broker is waiting?
Date Mon, 10 Dec 2012 19:15:36 GMT
With persistent messages, you expect the broker to respond saying "hey i
got your message and it's safely stored"

You can force the connection to always send async with:

However, if you forgo the sync request/response with the broker on
persistent messages, if a message gets lost you may not know.

On Mon, Dec 10, 2012 at 11:56 AM, javierco <> wrote:

> Hello, we have a Topic with one durable subscriber consumer and one
> producer.
> If both are running, the messages flow with no issues. However, if the
> consumer is down, when the producer sends a message, it waits for the
> broker
> to acknowledge without ever coming back.
> Is there a configuration property or any other setting we can tune to avoid
> this behavior? Basically we want the producer to send and forget, and have
> the broker keep the messages in the topic until the durable subscriber
> comes
> back alive. (Or, do they both need to be running all the time?)
> We are using ActiveMQ 5.6 with Spring 3.1.1 on Apache Tomcat 7.0.27.
> Thanks for the support!
> Javier C.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

*Christian Posta*
twitter: @christianposta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message