mirror of https://github.com/apache/activemq.git
Update instructions to relfect the latest release.
This commit is contained in:
parent
50604ad932
commit
5e4014a976
|
@ -10,17 +10,17 @@ These examples use the [ActiveMQ-CPP](http://activemq.apache.org/cms) C++ librar
|
|||
Building
|
||||
========
|
||||
|
||||
This will vary depending on where you installed your libraries and the compiler
|
||||
This will vary depending on where you installed your libraries and the compiler
|
||||
you are using but on my Ubuntu system, I compiled the examples as follows:
|
||||
|
||||
gcc Listener.cpp -o listener -I/usr/local/include/activemq-cpp-3.8.1 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
|
||||
gcc Publisher.cpp -o publisher -I/usr/local/include/activemq-cpp-3.8.1 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
|
||||
gcc Listener.cpp -o listener -I/usr/local/include/activemq-cpp-3.8.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
|
||||
gcc Publisher.cpp -o publisher -I/usr/local/include/activemq-cpp-3.8.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
|
||||
|
||||
Running the Examples
|
||||
====================
|
||||
|
||||
Note: You may need to update set an environment variable so that the
|
||||
activemq-cpp shared libraries can be loaded. For example on my Ubuntu
|
||||
Note: You may need to update set an environment variable so that the
|
||||
activemq-cpp shared libraries can be loaded. For example on my Ubuntu
|
||||
system I had to add the following to my profile:
|
||||
|
||||
export LD_LIBRARY_PATH=/usr/local/lib
|
||||
|
@ -34,7 +34,7 @@ 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:
|
||||
setting the following environment variables:
|
||||
|
||||
* `ACTIVEMQ_HOST`
|
||||
* `ACTIVEMQ_PORT`
|
||||
|
|
Loading…
Reference in New Issue