Apache ActiveMQ ™ is the most popular and powerful open source messaging and Integration Patterns server.
Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.
Grab yourself a Download, try our Getting Started Guide, surf our FAQ or start Contributing and join us on our Discussion Forums. Taken from Apache ActiveMQ official website
JMS is Java's message service and an important specification in J2EE. JMS clients can use JMS service for asynchronous message transmission.
ActiveMQ implements JMS in Java
download link:http://activemq.apache.org/activemq-5153-release.html
FTP tool upload to Linux designated directory
[root@localhost apache-activemq-5.15.3]# tar zxvf apache-activemq-5.15.3-bin.tar.gz
[root@localhost apache-activemq-5.15.3]# pwd
/usr/local/software/apache-activemq-5.15.3
[root@localhost apache-activemq-5.15.3]# ll
total 17740
-rwxr-xr-x. 1 root root 18104253 Jan 29 05:52 activemq-all-5.15.3.jar
drwxr-xr-x. 5 root root 4096 May 8 00:22 bin
drwxr-xr-x. 2 root root 4096 May 8 00:22 conf
drwxr-xr-x. 2 root root 25 May 8 00:22 data
drwxr-xr-x. 2 root root 73 May 8 00:22 docs
drwxr-xr-x. 7 root root 66 Jan 29 05:53 examples
drwxr-xr-x. 6 root root 4096 May 8 00:22 lib
-rw-r--r--. 1 root root 40580 Jan 29 05:53 LICENSE
-rw-r--r--. 1 root root 3334 Jan 29 05:53 NOTICE
-rw-r--r--. 1 root root 2610 Jan 29 05:53 README.txt
drwxr-xr-x. 6 root root 89 May 8 00:22 webapps
drwxr-xr-x. 3 root root 17 May 8 00:22 webapps-demo
[root@localhost bin]# ./activemq start
[root@localhost bin]# ./activemq stop
Here is a brief description of the ActiveMQ port, 61616 is the message broker interface, and 8161 is the management interface.
activemq default port 61616
root@localhost ~]# netstat -anp|grep 61616
tcp6 0 0 :::61616 :::* LISTEN 6264/java
[root@localhost ~]# lsof -i:61616
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 6264 root 130u IPv6 62853 0t0 TCP *:61616 (LISTEN)
URL: http://127.0.0.1:8161/admin/
The default account password is admin
/usr/local/software/apache-activemq-5.15.3/conf
[root@localhost conf]# pwd
/usr/local/software/apache-activemq-5.15.3/conf
[root@localhost conf]# ll
total 80
-rw-r--r--. 1 root root 5911 Jan 29 05:53 activemq.xml
-rw-r--r--. 1 root root 1370 Jan 29 05:48 broker.ks
-rw-r--r--. 1 root root 592 Jan 29 05:48 broker-localhost.cert
-rw-r--r--. 1 root root 665 Jan 29 05:48 broker.ts
-rw-r--r--. 1 root root 1357 Jan 29 05:48 client.ks
-rw-r--r--. 1 root root 665 Jan 29 05:48 client.ts
-rw-r--r--. 1 root root 1172 Jan 29 05:53 credentials-enc.properties
-rw-r--r--. 1 root root 1121 Jan 29 05:53 credentials.properties
-rw-r--r--. 1 root root 962 Jan 29 05:53 groups.properties
-rw-r--r--. 1 root root 1011 Jan 29 05:53 java.security
-rw-r--r--. 1 root root 1087 Jan 29 05:53 jetty-realm.properties
-rw-r--r--. 1 root root 7795 Jan 29 05:53 jetty.xml
-rw-r--r--. 1 root root 965 Jan 29 05:53 jmx.access
-rw-r--r--. 1 root root 964 Jan 29 05:53 jmx.password
-rw-r--r--. 1 root root 3071 Jan 29 05:53 log4j.properties
-rw-r--r--. 1 root root 1207 Jan 29 05:53 logging.properties
-rw-r--r--. 1 root root 1016 Jan 29 05:53 login.config
-rw-r--r--. 1 root root 961 Jan 29 05:53 users.properties
vi users.properties
## Omit comments, only one line
admin=admin
vi groups.properties
## Omit comments, only one line
admins=admin
/usr/local/software/apache-activemq-5.15.3/data
[root@localhost data]# pwd
/usr/local/software/apache-activemq-5.15.3/data
[root@localhost data]# ll
total 32
-rw-r--r--. 1 root root 21949 May 9 01:58 activemq.log
-rw-r--r--. 1 root root 5 May 9 01:58 activemq.pid
-rw-r--r--. 1 root root 5 May 9 01:09 activemq.pid.stop
-rw-r--r--. 1 root root 0 May 8 00:34 audit.log
drwxr-xr-x. 2 root root 60 May 8 00:34 kahadb
[root@localhost data]#
View documents:
1. linux install Apache ActiveMQ 5.15.3
Message middleware Let's briefly introduce the message middleware, just have a basic understanding of it, the message middleware (MOM: Message Orient middleware). Message middleware has many uses and ...
1. Introduction to JMS Full name: Java Message Service Chinese: Java Message Service. JMS is a set of Java API standards. The original purpose is to enable applications to acce...
ActiveMQ introduction ActiveMQ is the most popular and powerful open source message bus produced by Apache. ActiveMQ is a JMS Provider implementation that fully supports the JMS1.1 and J2EE 1.4 specif...
Foreword: Recently I came into contact with the message queue and learned about activeMQ, and I made a simple record here to facilitate future queries. 1. What is ActiveMQ 1.1 Introduction ActiveMQ is...
What is ActiveMQ MQ, commonly known as message queue, also known as message middleware, is a medium through which applications can deliver messages in a distributed system.ActiveMQ,RabbitMQ,kafka。Acti...
Introduction to JMS Full name: Java Message Service Chinese: Java Message Service. JMS is a set of Java API standards. The original purpose is to enable applications to access the existing...
1. Message middleware 2.MQ 3. ActiveMQ feature list 4. When to use ActiveMQ 5. Download ActiveMQ 6. Unzip 7. Start ActiveMQ 8. Web console access ActiveMQ 1. Message middleware Message Orient Middlewa...
1. Resource preparation 1.1 environment Centos7、jdk8、activemq5.15.8 1.2 ActiveMQ5.15.8 Installation package Official website download address:http://activemq.apache.org/activemq-5158-release.html The ...
Foreword This chapter explains the installation and use of ActiveMQ method 1. Concept JMSJava Message Service(Java Message Service) application program interface, is aJava platformAbout AboutMessage m...
1 Introduction JMS is a set of standard APIs for accessing MOM (Message-Oriented-Middleware) message service middleware developed by SUN. MON provides services for receiving and forwarding messages. I...