Configuration - 7.1

Talend ESB Infrastructure Services Configuration Guide

Version
7.1
Language
English (United States)
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade

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. The default location for configuration files is in activemq/conf.

The syntax is Main start [start-options] [uri]

[start-options] syntax
Option Description Example
-D<name>=<value> Define a system property

activemq -Dactivemq.home= <TalendRuntimePath>/activemq

(default if using Talend ESB)

--version Display the version information activemq --version
-h,-?,--help Display the start broker help information activemq -h

Note in the table below, the transport URI specifies the transport and ports to connect to the broker, for example TCP to connect to a remote ActiveMQ using a TCP socket, or VM which allows clients to connect to a broker in a container within the same VM. (Having multiple connectors may improve reliability and load balancing.) For the full list of options, see http://activemq.apache.org.

[uri] parameter syntax
Example Type Description
xbean:file:activemq.xml XBean based Loads the xbean configuration file from the current working directory
activemq xbean:activemq.xml XBean based Loads the xbean configuration file from the classpath
activemq broker:(tcp://localhost:61616, tcp://localhost:5000)? useJmx=true URI based Configures the broker with 2 transport connectors and jmx enabled.
activemq broker:(tcp://localhost:61616, network:tcp://localhost:5000)?persistent=false URI based Configures the broker with 1 transport connector, and 1 network connector and persistence disabled
Note, the broker URI information can also be added to the configuration file instead of being specified on the command line.