[ 
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-subscr...@qpid.apache.org

Reply via email to