From 7781dfa9b4dbd3897c9d1ce6e38daa417dc42e5d Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Thu, 1 May 2014 13:26:55 +0000 Subject: QPID-5739: update Hello example config to correctly specify clientid, and show how to control the AMQP open frame hostname git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591655 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/java') 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] -- cgit v1.2.1