activemq

 

activemq

It is the most popular and powerful open source messaging and Integration Patterns server.

http://activemq.apache.org/download-archives.html

wget http://archive.apache.org/dist/activemq/5.12.2/apache-activemq-5.12.2-bi...
tar -zxf apache-activemq-5.12.2-bin.tar.gz
mv apache-activemq-5.12.2 /opt

# Start
# Working directories get created relative to the current directory.
# To create working directories in the proper place, ActiveMQ must be launched from its home/installation directory.

cd /opt/apache-activemq-5.12.2

nohup bin/activemq start > /var/log/smlog 2>&1 &

Checking

netstat -an|grep 61616

# Web Console

# config
${ACTIVEMQ_HOME}/conf/jetty.xml

# login
${ACTIVEMQ_HOME}/conf/jetty-realm.properties

# Default login: admin / admin
http://localhost:8161/admin

log

INFO | jetty-7.1.6.v20100715
INFO | ActiveMQ WebConsole initialized.

# Stop

cd /opt/apache-activemq-5.12.2
bin/activemq stop

# Config

By default ActiveMQ uses the conf/activemq.xml as the main configuration file when starting.