Using the JMS Appender - 7.1

Talend ESB Infrastructure Services Configuration Guide

EnrichVersion
7.1
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
EnrichPlatform
Talend ESB
Talend Runtime
task
Design and Development
Installation and Upgrade

With this configuration events collected by different collectors will be written to a JMS queue using the JMS appender.

Before starting the JMS appender, the JMS feature must be installed in the Talend Runtime Container and a connection factory with the name tesbem must be created using the following commands in the Talend Runtime console, with <activemq-broker-host> and <activemq-broker-port> replaced by actual hostname/IP Address and port number of activemq broker:
feature:install jms
jms:create -t activemq --url tcp://<activemq-broker-host>:<activemq-broker-port> tesbem 
The Event Monitoring JMS Appender can be configured in org.apache.karaf.decanter.appender.jms.cfg as follows:
# Name of the JMS connection factory
connection.factory.name=jms/tesbem
 
# Name of the destination
destination.name=eventmonitoring
 
# Type of the destination (queue or topic)
destination.type=queue
 
# Connection username
# username=
# Connection password
# password=
 
# Marshaller
marshaller.target = (dataFormat=json)
To start the Event Monitoring with the JMS appender, enter the following command at the console prompt:
tesb:start-em-agent-jms
You can stop it with:
tesb:stop-el-agent-jms