ActiveMQ OSGi bundles - 8.0

Talend ESB Infrastructure Services Configuration Guide

Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend ESB
Talend Runtime
Design and Development
Installation and Upgrade
Last publication date

About this task

All ActiveMQ modules are packaged as OSGi bundles and can be used in any OSGi container, such as the Talend Runtime Container.


  1. By default, the ActiveMQ Karaf features are already added to the Talend Runtime Container, but if not present, they can be added using:
    feature:repo-add mvn:org.apache.activemq/activemq-karaf//xml/features
  2. Enter the following command to display the ActiveMQ bundles in the container console:
    feature:list | grep activemq
    karaf@trun> feature:list | grep activemq
    [uninstalled] [] activemq-broker-noweb activemq-      Full ActiveMQ broker with default configuration
    [uninstalled] [] activemq-broker       activemq-      Full ActiveMQ broker with default configuration and web console
    [uninstalled] [] activemq-camel        activemq-
    [uninstalled] [] activemq-web-console  activemq-
    [uninstalled] [] activemq-blueprint    activemq-
    [uninstalled] [] activemq-client       activemq-core- ActiveMQ client libraries
    [uninstalled] [] activemq              activemq-core- ActiveMQ broker libraries
  3. To install and start the ActiveMQ features, execute the following command:
    feature:install activemq


Once ActiveMQ installed and started in the container, you will be able to use it via the following commands: activemq:[command]


browse Display selected messages in a specified destination
bstat Displays useful broker statistics
dstat Displays a tabular summary of statistics for the queues on the broker
list Lists all available brokers in the specified JMX context
purge Delete selected destination's messages that matches the message selector
query Display selected broker component's attributes and statistics

And to obtain detailed help on a given command, just execute: activemq:[command] --help