1.ActiveMQ is an open source JMS implementation.
Can not affect the user execution results and relatively time-consuming tasks (such as sending an email notification to the administrator) asynchronously thrown to the JMS server, and as soon as possible to return the screen to the user, and the server can be multithreaded queued to respond to high concurrent requests. Can achieve the highest decoupling in the Java world. The client and the server do not need direct connection, even need not know who the other party is, where, how many people, as long as the flow of information to respond to the line, in the enterprise Application Environment complex role is obvious.
Three modes of operation:
(1) normal start./activemq Start
(2) Start and specify the log file./activemq start >tmp/smlog
(3) background start mode nohup./activemq start >/tmp/smlog
In the first two ways, when the command line window is closed or CTRL + C causes the process to exit, the use of background startup can avoid this situation
Check has started
The ACTIVEMQ defaults to 61616 ports for the JMS service, using 8161 ports to provide the management console service, and executes the following command to verify that the ACTIVEMQ service has been successfully started.
Open port: Nc-lp 61616 &
See which ports are open NETSTAT-ANP
See if Port 61616 is open: Netstat-an | grep 61616
Check whether it has started:
(1). View console output or log files
(2). Direct access to ACTIVEMQ Administration page: http://localhost:8161/admin/
JMS Open Source Implementation ACTIVEMQ