You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ra...@apache.org on 2011/12/09 19:03:00 UTC

svn commit: r1212554 - /qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java

Author: rajith
Date: Fri Dec  9 18:03:00 2011
New Revision: 1212554

URL: http://svn.apache.org/viewvc?rev=1212554&view=rev
Log:
QPID-3625 Reversing the change we made as AUTO_ACK seems correct.
For the specific changes required for the JCA case we will be exploring
other alternatives.
(cherry picked from commit 3223886060101a3f471ad7f33fa07647d5ba2752)

Modified:
    qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java

Modified: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java?rev=1212554&r1=1212553&r2=1212554&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java (original)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java Fri Dec  9 18:03:00 2011
@@ -51,7 +51,7 @@ public class XASessionImpl extends AMQSe
                          int defaultPrefetchHigh, int defaultPrefetchLow)
     {
         super(qpidConnection, con, channelId, false,  // this is not a transacted session
-              Session.CLIENT_ACKNOWLEDGE, //QPID-3625 XA should explicitly ack messages
+              Session.AUTO_ACKNOWLEDGE,
               MessageFactoryRegistry.newDefaultRegistry(), defaultPrefetchHigh, defaultPrefetchLow,null);
         createSession();
         _xaResource = new XAResourceImpl(this);



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