activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Closing an ActiveMQ Group
Date Fri, 04 Jan 2013 10:44:17 GMT

sending a message back to the consumer will notify the consumer that
the group is closed. You can always filter this kind of messages in
your application.

Dejan Bosanac
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: @dejanb
ActiveMQ in Action:

On Thu, Jan 3, 2013 at 12:15 AM, pcman312 <> wrote:
> I am looking into AMQ groups and have a question regarding closing a group.
> Here is my general setup:
> I push a message with a group ID onto a queue. A separate process picks up
> the message and reports the message text and group ID to stdout (it's just a
> sandbox process). That process then sends a message back to that queue with
> the same group ID and JMSXGroupSeq set to -1 to try to close the group. When
> that sandbox process loops again to get the next message, it gets the
> close-group message and processes it as though it's any other ordinary
> message.
> This seems counter-intuitive to me. If I am trying to close out a group, I
> don't want the process to receive the close-group message because it ends up
> meaning that I'll never truly close a group, I'll only move the group
> between the consumers because the same group ID is sent back out to the
> broker and back down to one of the consumers.
> Am I doing something wrong here, or am I misinterpreting closing a group?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message