You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew MacBean (Commented) (JIRA)" <ji...@apache.org> on 2011/10/10 16:53:30 UTC

[jira] [Commented] (QPID-3536) Topic Session Rollback/Recover does not work when using ADDR address destinations

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

Andrew MacBean commented on QPID-3536:
--------------------------------------

Removed the logic to override the accept mode value based on the Link Reliability value and added tests to test the rollback and recover cases.

Also removed the UNSPECIFIED Reliability enum from the Link class as its no longer required.

Finally, removed part of the AddressBasedDestinationTest that checked for the exception being thrown when the a Topic with "at-least-once" is specified for reliability.
                
> Topic Session Rollback/Recover does not work when using ADDR address destinations
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-3536
>                 URL: https://issues.apache.org/jira/browse/QPID-3536
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.13
>            Reporter: Andrew MacBean
>            Assignee: Andrew MacBean
>            Priority: Minor
>         Attachments: 0001-QPID-3536-0-10-overrides-JMS-AcceptMode-with-a-defau.patch
>
>
> User should be able to consume a message on topic session and then rollback/recover and re-consume the same message. Currently the rollback/recover appear to be successful, but the user cannot re-receive the same message.
> It appears that the link reliability default options (coming from the ADDR address) are taking precedence over the reliablity implied from the acknowlegeMode specified in the createSession call. 
> AMQSession_0_10.sendConsume method uses the Link value if not null to override the acceptMode when using ADDR mode without link reliability explicitly set.

--
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

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org