activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1060824 - /activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md
Date Wed, 19 Jan 2011 14:35:04 GMT
Author: chirino
Date: Wed Jan 19 14:35:03 2011
New Revision: 1060824

URL: http://svn.apache.org/viewvc?rev=1060824&view=rev
Log:
added readme on how to compile/run the examples.

Added:
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md

Added: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md?rev=1060824&view=auto
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md (added)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/examples/cpp/readme.md Wed
Jan 19 14:35:03 2011
@@ -0,0 +1,32 @@
+Prereqs
+=======
+
+- Install [ActiveMQ-CPP](http://activemq.apache.org/cms/download.html) 
+
+Building
+========
+
+This will vary depending on where you installed your libaries and the compiler 
+you are using but on my Ubutu system, I compiled the examples as follows:
+
+    gcc Listener.cpp -o listener -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0
-lactivemq-cpp -lstdc++ 
+    gcc Publisher.cpp -o publisher -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0
-lactivemq-cpp -lstdc++ 
+
+Running the Examples
+====================
+
+In one terminal window run:
+
+    ./listener
+
+In another terminal window run:
+
+    ./publisher
+
+You can control to which stomp server the examples try to connect to by
+setting the following environment variables: 
+
+* `STOMP_HOST`
+* `STOMP_PORT`
+* `STOMP_USER`
+* `STOMP_PASSWORD`



Mime
View raw message