Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The Apache ActiveMQ client libraries must be installed to enable JMS transport and try out JMS samples in some WSO2 products. In case any other JMS provider is used (e.g. Apache Qpid), install any necessary libraries and/or components.

Info
titleNote

Refer to to Installation Prerequisites for the list of all applications necessary to install and work with the WSO2 product you plan to install.

Follow the instructions below to install Apache ActiveMQ on Windows.

Step 1. Download Apache ActiveMQ

1. Open a Web browser and access the following URL:

...

2. Apache ActiveMQ home page opens.  There is a link to the latest version on the homepage. Follow this link if the version is compatible with the WSO2 product you intend to use.

Wiki Markup
!activeMQ-download.png|alt="Apache ActiveMQ download"!

Apache ActiveMQ downloadImage Added

3. The link to the latest stable version is usually at the top of the page, separated from the general list. Follow the link.

Wiki Markup
!ActiveMQ-latest-release.png|alt="Apache ActiveMQ latest"!

Apache ActiveMQ latestImage Added

4. Go to the "Getting the Binary Distributions" section of the page and follow the download link for Windows.

Wiki Markup
!ActiveMQ-binary-distribution.png|alt="Apache ActiveMQ binary"!

Apache ActiveMQ binaryImage Added

5. The link redirects to the page suggesting a mirror site for the download. Follow the link on the page.

...

Apache ActiveMQ download mirrorsImage Added

6. The download dialog opens. Click "OK" to start the download.

...

Apache ActiveMQ downloadImage Added

Step 2. Extract the Archive

After the download is complete, extract files to a user-defined folder. For example, C:\WSO2\apache-activemq-5.5.0.

Wiki Markup
!extract-ActiveMQ.png|alt="Extract Apache ActiveMQ"!

Extract Apache ActiveMQImage Added

Step 3. Run Apache ActiveMQ

Follow the instructions below to run Apache ActiveMQ.

1. Open the Windows command prompt (CMD).

Wiki Markup
!windows-command-prompt.png|alt="Windows command prompt"!

Windows command promptImage Added

2. Use the following command to change the current directory to the ActiveMQ installation directory:

...

where "<activemq_install_dir>" is the directory where ActiveMQ files were extracted to. For example, 

Wiki Markup
!change-directory.png|alt="Windows change directory"!

Windows change directoryImage Added

3. Execute the following command to run ActiveMQ:

!activemq-run-command.png|alt="Apache ActiveMQ run command"!
Code Block
bin\activemq
Wiki Markup

Apache ActiveMQ run commandImage Added

4. Apache ActiveMQ will start running.The operation log will be displayed.

...

Apache ActiveMQ operations logImage Added

Excerpt
hiddentrue

Instructions to install Apache ActiveMQ on Windows.

...