You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/06 20:56:21 UTC

[jira] [Commented] (ARTEMIS-773) AMQP: Transactional Acquistion and Retirement does not seem to work correctly.

    [ https://issues.apache.org/jira/browse/ARTEMIS-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553154#comment-15553154 ] 

ASF GitHub Bot commented on ARTEMIS-773:
----------------------------------------

GitHub user tabish121 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/821

    ARTEMIS-773 Tests that show issue with TX acquisition and retirement.

    Two new tests that acquire messages inside a TX and manage their
    settlement and retirement in differing ways, one test works the other
    'testReceiversCommitAndRollbackWithMultipleSessionsInSingleTXNoSettlement' 
    fails due to messages that were committed being redelivered to the
    client unexpectedly.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tabish121/activemq-artemis ARTEMIS-773

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/821.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #821
    
----
commit e7bba31688ee81de63e8eef6ede30a8c122f12c6
Author: Timothy Bish <ta...@gmail.com>
Date:   2016-10-06T20:53:10Z

    ARTEMIS-773 Tests that show issue with TX acquisition and retirement.
    
    Two new tests that acquire messages inside a TX and manage their
    settlement and retirement in differing ways, one test works the other
    'testReceiversCommitAndRollbackWithMultipleSessionsInSingleTXNoSettlement' 
    fails due to messages that were committed being redelivered to the
    client unexpectedly.

----


> AMQP: Transactional Acquistion and Retirement does not seem to work correctly.
> ------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-773
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-773
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 1.4.0
>            Reporter: Timothy Bish
>
> When a message is enlisted in a transaction by having an accepted disposition but is not settled, and the transaction is rolled back by the client, the broker should treat that message as still being acquired by the receiver and not redeliver it again and the receiver should be able to consume, modify, reject or release the delivery on its own afterwards.
> It seems that the broker allows for a client to accept but not settle inside of a TX but if that TX is rolled back it appears that the message will later be redelivered even if they are immediately accepted in a new TX and that TX is committed.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)