Author: robbie
Date: Fri May 2 12:44:32 2014
New Revision: 1591893
URL: http://svn.apache.org/r1591893
Log:
QPID-5739: update Hello example config to correctly specify clientid, and show
how to control the AMQP open frame hostname
merge from trunk r1591655
Modified:
qpid/branches/0.28/qpid/java/ (props changed)
qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
Propchange: qpid/branches/0.28/qpid/java/
------------------------------------------------------------------------------
Merged /qpid/trunk/qpid/java:r1591655
Modified:
qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
URL:
http://svn.apache.org/viewvc/qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties?rev=1591893&r1=1591892&r2=1591893&view=diff
==============================================================================
---
qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
(original)
+++
qpid/branches/0.28/qpid/java/amqp-1-0-client-jms/example/src/main/java/org/apache/qpid/amqp_1_0/jms/example/hello.properties
Fri May 2 12:44:32 2014
@@ -20,8 +20,8 @@ java.naming.factory.initial = org.apache
# 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]