activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kalki70 <>
Subject Re: Automatic recovery when using Message Groups
Date Thu, 12 Feb 2009 15:03:28 GMT

Hi, Dejan,

My opinion is that the functionality of Message Groups is partially broken
if there is no automatic recovery. What should the user do? Restart ActiveMQ
? :-(
I don't think it is so hard to implement. Upon subscription the consumer
could be informed its consumer id, which can be an optional parameter for
subscriptions. It would be responsibility of the consumer, when it
subscribes again, to provide its previous consumer id, if it wants to assume
the identity of the previous consumer.
If it doesn't provide it, it will be assigned a new consumer id. Assigned
consumer ids that are not claimed back could be released based on some
criteria, for instance, they could have an expiration time.

What do you think?

Best regards,


Dejan Bosanac wrote:
> Hi Luis,
> unfortunately there is no way for the consumer to recover its previous
> message groups. I'm not sure how this could be implemented, since the
> consumer will have a new consumer id upon recovery, so it would be
> impossible to relate it to the previous subscription.
> Cheers
> --
> Dejan Bosanac
> Open Source Integration -
> ActiveMQ in Action -
> Blog -

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message