summaryrefslogtreecommitdiff
path: root/qpid/java/client
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
commit5a8e354871c2f6d129e796403611e200d6f997e4 (patch)
treec6dc1c3e0e565b0b82266d8ecb62f01b5cf8d161 /qpid/java/client
parent504956a095b8d36a1f398556587952de5d688924 (diff)
downloadqpid-python-5a8e354871c2f6d129e796403611e200d6f997e4.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@1069998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
index af0d8a3a1d..ab59fee020 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
+++ b/qpid/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)