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 key | Description | Mandatory | Default value |
---|---|---|---|
debug | true to display debug log | No | false |
brokerUrl | URL of the ActiveMQ broker | Yes | |
username | The username to connect to the ActiveMQ broker | No | |
password | The password to connect to the ActiveMQ broker in standalone mode only | No | |
configAssetId | The ID of the asset containing the YAML mappings | Yes | |
prefixDestinationNamesWithContextId | true or false to indicate whether or not to prefix the topics/queues names with the context IDs | Yes | |
cacheConfig | The ID of the asset containing the JCS configuration | No |
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://".