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

Property keyDescriptionMandatoryDefault value
debugtrue to display debug logNofalse
brokerUrlURL of the ActiveMQ brokerYes
usernameThe username to connect to the ActiveMQ brokerNo
passwordThe password to connect to the ActiveMQ broker in standalone mode onlyNo
configAssetIdThe ID of the asset containing the YAML mappingsYes
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

Configuration example

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

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: