Author: tabish
Date: Wed Jun 6 07:19:06 2007
New Revision: 544848
URL: http://svn.apache.org/viewvc?view=rev&rev=544848
Log:
Adding more text to example to explain the URL options
Modified:
activemq/activemq-cpp/trunk/src/examples/main.cpp
Modified: activemq/activemq-cpp/trunk/src/examples/main.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/main.cpp?view=diff&rev=544848&r1=544847&r2=544848
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/main.cpp Wed Jun 6 07:19:06 2007
@@ -306,7 +306,20 @@
// Set the URI to point to the IPAddress of your broker.
// add any optional params to the url to enable things like
- // tightMarshalling or tcp logging etc.
+ // tightMarshalling or tcp logging etc. See the CMS website for
+ // a full list of configuration options.
+ //
+ // http://activemq.apache.org/cms/
+ //
+ // Wire Foormat Options:
+ // =====================
+ // Use either stomp or openwire, the default ports are different for each
+ //
+ // Examples:
+ // tcp://127.0.0.1:61616 default to openwire
+ // tcp://127.0.0.1:61616?wireFormat=openwire same as above
+ // tcp://127.0.0.1:61613?wireFormat=stomp use stomp instead
+ //
std::string brokerURI =
"tcp://127.0.0.1:61616"
"?wireFormat=openwire"