Escolar Documentos
Profissional Documentos
Cultura Documentos
html
Getting Started
Welcome to Apache ActiveMQ. This document gives you a quick overview of how to get started trying out
Apache ActiveMQ.
cd bin
activemq
Installing Ant
The example programs depend on Ant being installed. There are more detailed instructions on the Ant
website - but essentially you need to follow these steps.
JAVA_HOME must point to your JDK installation, such that $JAVA_HOME/bin contains the java
executable and $JAVA_HOME/lib contains some jar files.
ANT_HOME must point to where you installed Apache Ant (http://ant.apache.org)
then you need to add $JAVA_HOME/bin and $ANT_HOME/bin to your PATH variable.
java -version
cd example
ant -version
Once you've got Java and Ant installed correctly you should be able to run
cd example
ant consumer
cd example
ant producer
you can specify exact URLs to connect to via command like arguments. e.g.
1 of 1 8/2/17, 6:42 PM