Active MQ target
Use the Active MQ target to publish data to Active MQ. Pass an object with the parameters you require from the following table:
Code example
… { "name": "activemq_target", "_sequenceno": 1, "_actualparams": { "activemq": { "username": "<Username>", "password": "<Password>", "url": "<activemq_host>" }, "topic": "<activemq_Topic>", "message": {} } } …
activemq_target schema
| Parameter | Type | Description | Default Value | Required |
|---|---|---|---|---|
| _name | String | Enter activemq_target. | Required | |
| _sequenceno | Number | Enter a number that defines the task’s order in the sequence of tasks to execute. | Required | |
| _actualparams | Object | Pass an object that contains parameters you want to add as key-value pairs, such as userName: “<userName>”. | Required | |
| _actualparams.activemq.username | String | Enter your Active MQ account username. If you do not enter a value, the default value for activemq.username in the Datasources config file is used. | {{config:activemq.username}} | Optional |
| _actualparams.activemq.password | String | Enter your Active MQ account password. If you do not enter a value, the default value for activemq.password in the Datasources config file is used. | {{config:activemq.password}} | Optional |
| _actualparams.activemq.url | String | Enter the Active MQ host URL to connect to. If you do not enter a value, the default value for activemq.url in the Datasources config file is used. | {{config:activemq.url}} | Optional |
| _actualparams.topic | String | Enter the name of the topic you want to publish the message to. | Required | |
| _actualparams.message | Object | Enter the message you want to publish to the Active MQ topic. | Required |