From 632b12bf08a91ae876bc397fd8d20ad3aabe6d03 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 8 Dec 2011 16:29:55 +0000 Subject: QPID-3625 Commiting the patch by Weston Price. (cherry picked from commit fe3d0c1184bb124973e2cd7e451a67ac4a52a692) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1211959 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'java') diff --git a/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java b/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java index 6b9121811d..66a94612c9 100644 --- a/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java +++ b/java/client/src/main/java/org/apache/qpid/client/XASessionImpl.java @@ -5,9 +5,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -51,7 +51,7 @@ public class XASessionImpl extends AMQSession_0_10 implements XASession, XATopic int defaultPrefetchHigh, int defaultPrefetchLow) { super(qpidConnection, con, channelId, false, // this is not a transacted session - Session.AUTO_ACKNOWLEDGE, // the ack mode is transacted + Session.CLIENT_ACKNOWLEDGE, //QPID-3625 XA should explicitly ack messages MessageFactoryRegistry.newDefaultRegistry(), defaultPrefetchHigh, defaultPrefetchLow,null); createSession(); _xaResource = new XAResourceImpl(this); -- cgit v1.2.1