You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (Commented) (JIRA)" <ji...@apache.org> on 2011/12/09 19:08:40 UTC
[jira] [Commented] (QPID-3625) XASessionImpl Incorrectly sets
Session acknowledge mode to AUTO_ACKNOWLEDGE when it should be
CLIENT_ACKNOWLEDGE
[ https://issues.apache.org/jira/browse/QPID-3625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166382#comment-13166382 ]
Rajith Attapattu commented on QPID-3625:
----------------------------------------
Keith, after some investigation we've determined that CLIENT_ACK is not correct and AUTO_ACK is the easiest way to handle the general case.
For the specific JCA case we are exploring the possibility of using CLIENT_ACK by modifying the ack mode runtime. Weston will produce a patch for this shortly.
Since the change is reversed the test cases should now all pass.
> XASessionImpl Incorrectly sets Session acknowledge mode to AUTO_ACKNOWLEDGE when it should be CLIENT_ACKNOWLEDGE
> ----------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3625
> URL: https://issues.apache.org/jira/browse/QPID-3625
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.10, 0.12
> Environment: All platforms
> Reporter: Weston M. Price
> Priority: Critical
> Fix For: 0.15
>
> Attachments: QPID-3625.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When using distributed transactions (XA) message acknowledgement needs to occur prior to the XA transaction being started in order to consistently support the two phase commit protocol. In order for this to correctly occur, the XASessionImpl, a non-transacted Session (i.e. non JMS transacted session) should be configured to use CLIENT_ACKNOWLEDGE as this is the only mode that supports explicit message acknowledgement which again, is required to correctly participate in the distributed transaction.
--
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