summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java')
-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]