Enter you email to subscribe to our "IDM Tech Blog"

Your email:

Follow Me

IDM Technical Blog

Current Articles | RSS Feed RSS Feed

Installation and Setup of Apache ActiveMQ

This blog will detail how to install, Setup and test Apaches Active MQ  on a Linux server.

Pre Requisites

You will need to have installed and configured and instance of java on your server.  How to do this is covered in a previous blog post.

Installation

Getting started you will need to download the latest version of apaches activeMQ service from (http://activemq.apache.org/activemq-550-release.html). Look for the heading “Getting the Binary Distributions” and select the download link for the linux packages. The file name  should be “apache-activemq-5.5.0-bin.tar.gz” and the  size of the download is approximately 27 Megs

ActiveMQ

 

Once you have downloaded the distribution you will need to prepare the linux server for the installation.  You will need to create a directory called ActiveMQ  under the /opt  directory.   To do this you can either perform the operation using the GUI or through a terminal window.

To create the directory open a terminal window and execure the following commands.

  • Cd /opt
  • Mkdir /Ac tiveMQ
  • Copy the installation file from the download location to  /opt/
  • Unzip the compressed download files using command gunzip activemq-5.5.0-bin.tar.gz
  • Untar the file into the directory ActiveMQ using command tar -xvf apache-activemq-5.5.0-bin.tar -C /opt/ActiveMQ/

Startup ApacheMQ

To startup apacheMQ  you wll need to change into the bin directory /opt/ActiveMQ/bin

Execute command

  • ./activemq  start

If the launch is successful you should see output similar to the sample image below.

Linux Schell Screenshot

 

Testing the ActiveMQ installation

 

The Apache ActiveMQ service has a administrative console.  To check if the service I running correctly you  simply need to connect  admin or camel console.  The URL to connect are provided below

 

Image of Admin Console

ActiveMQAdminConsole

 

 

Image of Camel Console

Apache Camel

To fully test the system you should create a Queue and send a test message.

 

Creating a Queue

To create a new queue you need to  click on the queues item in the purples bar  just underneath the ActiveMQ banner.   Put in the Queue Name   ”GreyTower” and then click on the create button.

ActiveMQQues

 

After clicking on the create button the new queue should show up on the screen as shown in the image below.

ActiveMQQues2

 

Send a test Message

To send a test message we will need to click on the send button and set the Destination field to GreyTower    and type in a example message as shown in the image below.

ActiveMQJMSmessage

 

Now click on the send button at the bottom of the form and you should be taken to a screen that shows the “GreyTower” queue as shown in the image below

ActiveMQqueDestination

 

Now if you click on the “GreyTower” Queue Destination you will be taken to a screen  that shows a list of messages in the queue.

ActiveMQBrowseGreyTower

 

To look at the actual contents of the message just  click on the message iD and you will be take to a screen that show the message contents and properties.  An example is shown below

 

Last Screen

6pointreportcta-180wide

Related Articles

Company Merger? How to Save Novell Identity Manager from getting the Hook!

Bringing SOA to Identity Management

GreyTower for Novell IDM (what to do after Active MQ install)

Comments

Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics

GroupWise eDiscovery with Tisiphone
GreyTower Tisiphone