Installation

Using ActiveMQ > Installation

  • 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.

    cd bin
    activemq
    

    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

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.