Apache ActiveMQ parameters
You can know more about Apache ActiveMQ parameters using the information provided here.
To use ActiveMQ as the JMS provider for the System Queue, set the systemqueue.jmsdriver.name
property in global.properties/solution.properties
to com.ibm.di.systemqueue.driver.ActiveMQ
. The ActiveMQ driver
has the following parameter.
- jms.broker - the ActiveMQ server address (Protocol, IP address, and TCP port number). For example, tcp://localhost:6161 or ssl://localhost:616171 to use SSL connection.
The default value is:
vm://localhost?brokerConfig=xbean:etc/activemq.xml
This value runs the ActiveMQ in embedded mode. The etc/activemq.xml file holds the default ActiveMQ configuration.
Note:
-
The path to the ActiveMQ configuration XML file (after xbean:) cannot hold spaces.
If the path contains spaces, each space character must be URL encoded three times, thus transforming it to %2520.
-
The System Queue initializes ActiveMQ when required, if the systemqueue.on=true parameter is set to true in the solution.properties file.
- Configuration
You can know more about ActiveMQ configuration and the required parameters using the information provided here. - Logging
The ActiveMQ relies on log4j to log information in the broker client and the broker. The following listed lines inside log4j.properties configure the ActiveMQ logging by setting the default logging categories of ActiveMQ items. - Using SSL with ActiveMQ
You can configure the ActiveMQ to use SSL connection by specifying the <sslContext> element and the correct transportConnector's URI in the XML configuration file of ActiveMQ.