summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2014-05-02 12:44:32 +0000
committerRobert Gemmell <robbie@apache.org>2014-05-02 12:44:32 +0000
commit9cec962219fafcdd7d95b63c748103bbdf860fdf (patch)
tree10202c108e46d659c655e7ac4cf93acd287db8d2
parent0cb887d4930b1b50691174401cdad8b22848144f (diff)
downloadqpid-python-9cec962219fafcdd7d95b63c748103bbdf860fdf.tar.gz
QPID-5739: update Hello example config to correctly specify clientid, and show how to control the AMQP open frame hostname
merge from trunk r1591655 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1591893 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties b/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
index e83a887cc9..2b99523a90 100644
--- a/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
+++ b/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
@@ -20,8 +20,8 @@ java.naming.factory.initial = org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileIn
# register some connection factories
# connectionfactory.[jndiname] = [ConnectionURL]
-connectionfactory.localhost = amqp://guest:guest@localhost/test?cliendId='test-client'
-
+connectionfactory.localhost = amqp://guest:guest@localhost:5672?clientid=test-client&remote-host=default
+# Remove the remote-host option to make the AMQP open-frame hostname field simply match the URL hostname
# Register an AMQP destination in JNDI
# destination.[jniName] = [Address Format]