Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51171 invoked from network); 1 Feb 2010 22:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 22:45:21 -0000 Received: (qmail 90408 invoked by uid 500); 1 Feb 2010 22:45:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 90348 invoked by uid 500); 1 Feb 2010 22:45:21 -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 90338 invoked by uid 99); 1 Feb 2010 22:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 22:45:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 22:45:20 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E2E2234C1F2 for ; Mon, 1 Feb 2010 14:44:32 -0800 (PST) Message-ID: <1564609011.7391265064272646.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 22:44:32 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2590) Transaction commit/rollback through failover should throw TransactionRolledBackException if recovery redelivery dispatches another consumer In-Reply-To: <386396729.7371265064033790.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-2590. ----------------------------- Resolution: Fixed resolved in r905432 > Transaction commit/rollback through failover should throw TransactionRolledBackException if recovery redelivery dispatches another consumer > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-2590 > URL: https://issues.apache.org/activemq/browse/AMQ-2590 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.3.0 > Reporter: Gary Tully > Assignee: Gary Tully > Fix For: 5.4.0 > > > Given an outstanding consumer transaction and failover transport recovery. On recovery, messages are redispatched by the broker once the connection, sessions and producers/consumers and transactions are replayed. Redispatch may not dispatch the same messages to the same consumers atm. In the case that a client transaction cannot be recreated it should fail with a TransactionRolledBackException. The failure indicates that the messages the session wants to ack have not again been redispatched so their receipt cannot be committed. The messages in question will have been redelivered to another consumer. > Likewise in a rollback, in this case there is a warn message to the effect that the rolled back messages may not all be included in the rollback. It that they may not have been redispatched. The unordered redelivery semantics after a session rollback ensure that this error does not need to propagate up to the client. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.