Before running the examples you should try running a JMS broker on your machine. Follow the Installation instructions to use a binary distribution of ActiveMQ. To run the broker in a command shell, type:

This starts up ActiveMQ.

Running the examples from a binary distro

You can use Ant to compile and run the examples. In another shell, run the examples:

In another shell type:

You should then see messages being produced and consumed. You can also pass additional commands into these goals using variables that are availabe in the build.xml. Below is an example:

For a summary of all the available goals and options try:

See Also

|
© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram