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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/10 15:17:31 UTC

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

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


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


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

Posted by "Rajith Attapattu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141344#comment-13141344 ] 

Rajith Attapattu commented on QPID-3536:
----------------------------------------

For Topics we need to figure out a sensible default. Maybe we can use AT_LEAST_ONCE (the solution you've used) to support the above case. From a JMS spec perspective I think we need AT_LEAST_ONCE to satisfy all cases. The flip side is that this prevents us from using an optimization for true Topics, where you really don't care about re-receving the messages. 

In that case then maybe we need to stress in our documentation, that uses need to explicitly specify that they need UNRELIABLE if they don't care about redelivery in the case of rollback and recover. Thats probably a reasonable compromise. We should definitely release-note this change if we get this into the 0.14 release.
                
> 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: Rajith Attapattu
>         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


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

Posted by "Andrew MacBean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean updated QPID-3536:
---------------------------------

    Priority: Major  (was: Minor)
    
> 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: Rajith Attapattu
>         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


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

Posted by "Andrew MacBean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean updated QPID-3536:
---------------------------------

    Attachment: 0001-QPID-3536-0-10-overrides-JMS-AcceptMode-with-a-defau.patch
    
> 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


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

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3536:
--------------------------------

    Assignee: Keith Wall  (was: Rajith Attapattu)
    
> 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, 0.14
>            Reporter: Andrew MacBean
>            Assignee: Keith Wall
>         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


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

Posted by "Andrew MacBean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean updated QPID-3536:
---------------------------------

    Description: 
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.

  was:
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.

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


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

Posted by "Andrew MacBean (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean reassigned QPID-3536:
------------------------------------

    Assignee: Keith Wall  (was: Andrew MacBean)

Could you please review and commit if happy?
                
> 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: Keith Wall
>            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


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

Posted by "Andrew MacBean (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean reassigned QPID-3536:
------------------------------------

    Assignee: Rajith Attapattu  (was: Keith Wall)

See comments.
                
> 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: Rajith Attapattu
>            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


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

Posted by "Keith Wall (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143189#comment-13143189 ] 

Keith Wall commented on QPID-3536:
----------------------------------

Thanks Rajith. 

> The flip side is that this prevents us from using an optimization for true Topics, where you really don't care about re-receiving the messages. 

I think if a JMS user didn't care about re-receiving messages, then i doubt they would choose a transacted or client-acknowledged JMS session, but as you suggest, if a user wants this behaviour, they can always choose to explicitly downgrade the reliability in the address.   I think this is the right approach.

As there are workaround(s) for this issue, I suggest that this commit will go to trunk after the branch has been taken for 0-14.













                
> 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: Rajith Attapattu
>         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


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

Posted by "Andrew MacBean (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124895#comment-13124895 ] 

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

Rajith,

 

Would you mind having a look at this? I found a few use cases that were not working and had a look back at some commits you did previously for JIRA QPID-2732.  There seemed to be a few commits and the final outcome didn’t seem to agree with the original description. My change effectively backs out part of this work and so I would like you to review and give comment.

 

--Andrew
                
> 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: Keith Wall
>            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


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

Posted by "Andrew MacBean (Commented) (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3536:
-----------------------------

    Affects Version/s: 0.14
    
> 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, 0.14
>            Reporter: Andrew MacBean
>            Assignee: Keith Wall
>         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


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

Posted by "Keith Wall (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall resolved QPID-3536.
------------------------------

    Resolution: Fixed

Patch applied.
                
> 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, 0.14
>            Reporter: Andrew MacBean
>            Assignee: Keith Wall
>         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