- Download a binary distribution of ActiveMQ and unpack it into some directory.
- To run an ActiveMQ broker, type the following commands from the directory in which you have just unpacked the ActiveMQ distribution.
The ActiveMQ broker should now run. You can configure the broker by specifying an Xml Configuration file as a parameter to the activemq command.
You can now run the Examples using Ant.
See the getting started guide for details of which jars you need to add to your classpath to start using ActiveMQ in your Java code
If you want to use JNDI to connect to your JMS provider then please view the JNDI Support. If you are a Spring user you should read about Spring Support