diff options
| author | Robert Gemmell <robbie@apache.org> | 2014-05-01 13:26:55 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2014-05-01 13:26:55 +0000 |
| commit | 7781dfa9b4dbd3897c9d1ce6e38daa417dc42e5d (patch) | |
| tree | 5c9118c269bb3153819ddbb9d0f7fa08cf12e7e9 | |
| parent | f9a384b8b869c90a8e906d57d19d0aeb0dcf88f2 (diff) | |
| download | qpid-python-7781dfa9b4dbd3897c9d1ce6e38daa417dc42e5d.tar.gz | |
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
| -rw-r--r-- | qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties | 4 |
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] |
