JMS (Java Messaging Service) is a technical specification for message-oriented middleware on the Java platform that facilitates the message exchange of Java applications in the messaging system and simplifies the development of enterprise applications by providing a standard interface for generating, sending, and receiving messages. ACTIVEMQ is a concrete implementation of this specification.
The JMS queue message delivery process is as follows:
The topic message delivery process for JMS is as follows:
ACTIVEMQ download and deployment.
1. Download
Download the latest version of the website, with the Windows version and the Linux version.
Http://activemq.apache.org/download.html
Windows version: Apache-activemq-5.10-20140603.133406-78-bin.zip
Linux version: apache-activemq-5.10-20140603.133406-78-bin.tar.gz
2. Deployment
A, under Windows Deployment
ACTIVEMQ deployment is very simple, like all Java, to run Java programs must first install the JDK and configure the environment variables, this is very simple.
Then unzip the downloaded Apache-activemq-5.10-20140603.133406-78-bin.zip compressed package into a directory, get the extracted directory structure such as:
Enter the bin directory and find the Win32 and Win64 two folders, which correspond to the WINDOWS32 bit and WINDOWS64-bit operating system startup scripts respectively.
My experimental environment is windowsxp, go into the Win32 directory, you will see the following directory structure.
Where Activemq.bat is the startup script, double-click Start.
ACTIVEMQ default boot to Port 8161, after startup in the browser address bar input: Http://localhost:8161/admin required to enter the user name password, the default username password is admin, admin, this user name password is in the conf/ Configured in the Users.properties. After entering the username password, you can see the ACTIVEMQ console interface.
ACTIVEMQ installation Deployment (Windows)