activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Acknowledgement Timeout
Date Wed, 04 Apr 2012 11:41:54 GMT
There is no support for this with the redelivery policy. jms is
connection oriented, so the assumption is that if the connection is
alive and there is no ack, the consumer has a good reason not to ack

The only way to force the broker to redeliver is to close the consumer.
One way to achieve this is to have the consumers connection timeout if
it is inactive for some period.

The inactivity monitor, without keepAlive messages will do this for you.

use a broker url of

and that will terminate the connection after 20 seconds of inactivity
which will force the broker to redispatch the message.

On 4 April 2012 06:51, oBanawalikar <> wrote:
> I want to set the timeout period for the Acknowledge i.e. if the acknowledge
> is not received for the particular message from consumer within a time
> period then, the broker should resend the message to the consumer.
> For this purpose should we set the /initialRedeliveryDelay/ field or
> /redeliveryDelay/ field?????
> Sorry if the question sounds silly. Its just that the documentation does say
> much about it.
> Thanks
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message