Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1DEA92B4 for ; Tue, 14 Feb 2012 12:53:24 +0000 (UTC) Received: (qmail 35729 invoked by uid 500); 14 Feb 2012 12:53:24 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 34647 invoked by uid 500); 14 Feb 2012 12:53:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 34615 invoked by uid 99); 14 Feb 2012 12:53:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 12:53:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 12:53:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F095A1B68C7 for ; Tue, 14 Feb 2012 12:52:59 +0000 (UTC) Date: Tue, 14 Feb 2012 12:52:59 +0000 (UTC) From: "Rich Christy (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <733795626.36212.1329223979986.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-1126) The Resource Adapter ignores the JMSXGroupID when dispatching to MDBs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207681#comment-13207681 ] Rich Christy commented on AMQ-1126: ----------------------------------- No we actually stopped using ActiveMQ so basically my problem went away. > The Resource Adapter ignores the JMSXGroupID when dispatching to MDBs > --------------------------------------------------------------------- > > Key: AMQ-1126 > URL: https://issues.apache.org/jira/browse/AMQ-1126 > Project: ActiveMQ > Issue Type: Bug > Components: JCA Container > Affects Versions: 4.0.1 > Environment: Java 1.4.2_08 > JBoss 4.0.4 > ActiveMQ 4.0.1 > Reporter: John Robinson > Fix For: NEEDS_REVIEWED > > Attachments: msg-group-test.zip > > > Integrate AMQ into JBoss using the data source, and resource adapter. Create an outbound queue and an MDB with a pool size of 100. Dispatch several messages to the outbound queue, setting the JMSXGroupID property on the message to be the same value each time. In the MDB's onMessage method print out the MDBs toString (don't override toString) and you should see something that looks like: > OutQueueProcessorBean@19a7266 > Observe two things: > a) Many messages are processed in parallel > b) Many different values will occur after the @ in the above message, denoting that more than on MDB instance is being handed messages. > The correct behavior would be to dispatch messages with the same group id to the same MDB instance in sequence. This would allow messages from different groups to be processed in parallel, but messages in any one group would be processed serially, in the order in which they were placed into the queue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira