From bba79911eff1f8873a8eb4d0db4db25f41a1e367 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Sat, 12 Feb 2011 00:36:28 +0000 Subject: QPID-3050 Modified the code to use the correct system property name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069998 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/src/main/java/org/apache/qpid/client/AMQConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java b/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java index af0d8a3a1d..ab59fee020 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java @@ -304,7 +304,7 @@ public class AMQConnection extends Closeable implements Connection, QueueConnect else { // use the default value set for all connections - _syncPublish = System.getProperty((ClientProperties.SYNC_ACK_PROP_NAME),_syncPublish); + _syncPublish = System.getProperty((ClientProperties.SYNC_PUBLISH_PROP_NAME),_syncPublish); } if (connectionURL.getOption(ConnectionURL.OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT) != null) -- cgit v1.2.1