Installing Apache ActiveMQ - 6.4

Talend Real-time Big Data Platform Installation Guide for Linux

Talend Real-Time Big Data Platform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Project Audit
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio
Installation and Upgrade

ActiveMQ is a message broker enabling to support different messaging options. It will provide you high availability, performance, scalability, reliability and security for enterprise messaging. And it allows you to mediate events between distributed applications, guaranteeing that they reach their intended recipients.

Once Talend ESB installed, you can either access a standalone instance of ActiveMQ in the Talend-ESB-VA.B.C/activemq directory or install it as a Feature directly within the Talend ESB Container.

Once installed, ActiveMQ can be used in Talend's Mediation routes, for example.

As standalone

To launch ActiveMQ in standalone:

  1. Browse to the Talend-ESB-VA.B.C/activemq/bin directory.

  2. Run the following command:

    ./activemq console

Configuring Apache ActiveMQ

There are a number of configuration options, and these are listed by entering activemq -h.

You can configure the ActiveMQ broker by using either a configuration file or via broker URI. For more information about the broker URI syntax, see the online Apache ActiveMQ documentation.

The default location for configuration files is in activemq/conf.

For more information on how to configure Apache ActiveMQ, see the Talend ESB Infrastructure Services Configuration Guide.

As an OSGi Feature

ActiveMQ can also be installed as a Feature in Talend ESB Container, this way, it will be automatically launched when launching Talend ESB Container.

Install Apache ActiveMQ and create a broker

  1. In the Talend Runtime container, use the following command to start ActiveMQ:

    karaf@trun> feature:install activemq
  2. By default, no broker is created in the Container. To start a broker within the Talend Runtime container, use the following command:

    karaf@trun> feature:install activemq-broker

    It creates a default broker named amq-broker and its configuration file: <TalendRuntimePath>/container/etc/org.apache.activemq.server-default.cfg. You can modify the broker's default configuration by editing this file. For more information on how to create multiple brokers, to remove or to query a broker, see the Talend ESB Infrastructure Services Configuration Guide.

    This command also installs the ActiveMQ Web console, available at: http://localhost:8040/activemqweb/. For more information on ActiveMQ Web console advanced configuration, see the Talend ESB Infrastructure Services Configuration Guide.