You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/04/20 00:29:17 UTC

[jira] [Created] (AMQNET-430) Transaction commit/rollback through failover should throw TransactionRolledBackException if recovery redelivery dispatches to another consumer

Timothy Bish created AMQNET-430:
-----------------------------------

             Summary: Transaction commit/rollback through failover should throw TransactionRolledBackException if recovery redelivery dispatches to another consumer
                 Key: AMQNET-430
                 URL: https://issues.apache.org/jira/browse/AMQNET-430
             Project: ActiveMQ .Net
          Issue Type: Improvement
          Components: ActiveMQ
    Affects Versions: 1.5.6
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 1.6.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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira