In order to enable the JMS transport and try out JMS samples, the ActiveMQ client libraries must be installed. In case any other JMS provider is used (e.g. Apache Qpid), install any necessary libraries and/or components.
Info | ||
---|---|---|
| ||
Refer to to Installation Prerequisites for the list of all applications necessary to install and work with the WSO2 products you plan to use. |
...
Establish a SSH connection to the Linux machine or log in on the text Linux console. You should either log in as root or obtain root permissions after login via su
or sudo
command.
Step 1. Download the ActiveMQ
You can use wget
to download the tar.gz
file directly to your server:
...
Wiki Markup |
---|
!download-Apache-ActiveMQ-on-Solaris.png|alt="Download ActiveMQ"! |
Step 2. Extract Files
1. Extract the files from the GZIP file into a directory of your choice. For example:
...
Code Block |
---|
chmod 755 activemq |
Step 3. Run Apache ActiveMQ
From a command shell, run ActiveMQ:
...
Wiki Markup |
---|
!run-Apache-ActiveMQ.png|alt="Run Apache ActiveMQ"! |
Step 4. Testing the Installation
ActiveMQ's default port is 61616. From another window, run netstat and search for port 61616.
...
The port should be opened and LISTEN on 61616.
Step 5. Monitoring ActiveMQ
There are various ways to monitor ActiveMQ. If you are on version 4.2 or later of ActiveMQ, you can then monitor ActiveMQ using the Web Console by pointing your browser at:
...