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.
To launch ActiveMQ in standalone:
Browse to the Talend-ESB-VA.B.C/activemq/bin directory.
Run the following command:
There are a number of configuration options, and these are listed by entering
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.
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
In the Talend Runtime container, use the following command to start ActiveMQ:
karaf@trun> feature:install activemq
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.