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: