summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2011-02-12 00:36:28 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2011-02-12 00:36:28 +0000
commitbba79911eff1f8873a8eb4d0db4db25f41a1e367 (patch)
tree381bd81e425c1cc5872420731173ccf0b46f902c
parent83ed6b8379111fe5a2e317035764704f7896d011 (diff)
downloadqpid-python-bba79911eff1f8873a8eb4d0db4db25f41a1e367.tar.gz
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
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQConnection.java2
1 files changed, 1 insertions, 1 deletions
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)