activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <>
Subject Re: non durable subscriber on failover reconnect
Date Mon, 18 Feb 2013 08:45:53 GMT
Yes, if you want to be JMS spec compliant and you want 100% guarantee that
all missed messages will be received upon reconnection.

However, AMQ has a nifty feature called Retroactive Consumers which can
help if you want to avoid durable subscriptions [1], but still keep a
limited number of past messages around.

One detail: messages don't survive broker crashes with retroactive
consumers AFAIR, but maybe someone else could confirm.



Sent while on the move.
On 18 Feb 2013 08:38, "Marco.Crivellaro" <> wrote:

> Hi All,
> would a non durable consumer receive the messages that have been published
> to a topic while it was disconnected due a failure?
> The scenario I am talking about is following:
> a) consumer 'S' subscribes to topic
> b) messages M1, M2 are published to the topic
> c) some sort of failure happens and subscriber 'S' loses connection to the
> broker
> e) messages M3, M4 are published to the topic
> f) consumer 'S' reconnect to the broker (using failover)
> M1 and M2 will be consumed because 'S' is connected when they are sent.
> what would happen to M3 and M4? will they be dispached to the subscriber
> once it reconnect after the failure? Does subscriber 'S' have to be a
> durable subscriber in order to receive those messages?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

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