Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F18BFE86D for ; Thu, 3 Jan 2013 15:01:01 +0000 (UTC) Received: (qmail 44178 invoked by uid 500); 3 Jan 2013 15:01:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44010 invoked by uid 500); 3 Jan 2013 15:01:01 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 5694 invoked by uid 99); 2 Jan 2013 23:15:52 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.250.139 is neither permitted nor denied by domain of pcman312@gmail.com) Date: Wed, 2 Jan 2013 15:15:26 -0800 (PST) From: pcman312 To: users@activemq.apache.org Message-ID: <1357168526234-4661244.post@n4.nabble.com> Subject: Closing an ActiveMQ Group MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: http://activemq.2283324.n4.nabble.com/Closing-an-ActiveMQ-Group-tp4661244.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.