ActiveMQ extension

Plugin ID

The plugin ID for Apache ActiveMQ is fr.cantor.c4i.ActiveMQDelivery.

This plugin supports both ActiveMQ 5 and ActiveMQ Artemis.

Properties

Environment independent parameters (set in extension configuration or properties file)

Property keyDescriptionMandatoryDefault value
configAssetIdThe ID of the asset containing the YAML mappingsYes
connectionThe name of the connection in the c4i.properties fileYes
prefixDestinationNamesWithContextIdtrue or false to indicate whether or not to prefix the topics/queues names with the context IDsYes
cacheConfigThe ID of the asset containing the JCS configurationNo
displayPerfStattrue to display performance statistics (see Performance statistics dedicated page)Nofalse

Environment dependent parameters (set in centralized c4i.properties file)

Property keyDescriptionMandatoryDefault value
brokerUrlURL of the ActiveMQ brokerYes
usernameThe username to connect to the ActiveMQ brokerNo
passwordThe password to connect to the ActiveMQ brokerNo

Configuration example

extensions.[0].pluginId=fr.cantor.c4i.ActiveMQDelivery
extensions.[0].configAssetId=C4I-Configuration
extensions.[0].connection=activemq
extensions.[0].prefixDestinationNamesWithContextId=true
pluginId=fr.cantor.c4i.ActiveMQDelivery
configAssetId=/Path/to/C4I/Configuration.yml
connection=activemq
prefixDestinationNamesWithContextId=true
licenseAssetId=/Path/to/C4I/License.cat
cacheConfig=/Path/to/JCS/Config.ccf
activemq.brokerUrl=tcp://localhost:61616
activemq.username=c4i
activemq.password=secure_password

Topics vs Queues

By default, c4i will publish data to topics. If you want to publish data to a queue, the mapping target name must start with "queue://".

Last Updated: