[
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:[email protected]