Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 8.8.0 |
Location | Integration > ActiveMQ |
The Put String in Active Queue step is used to insert one or more strings into an Active Queue.
Prerequisites
This step requires the ActiveMQ module to be installed before it will be available in the toolbox.
Users on v9 will need to create a Project dependency.
Properties
[Settings]
Property | Description | Data Type |
---|---|---|
QueueName | Name of the queue to add strings to. | String |
Inputs
Property | Description | Data Type |
---|---|---|
Headers | Optional setting used to attach headers to the message queue. | List of Datapair |
Message Type | Optional setting used to set the message type received by the ActiveMQ broker. | String |
Message(s) Text | Text inputted to put into Active Queue. | List of String |
Persistent? | Optional boolean value that allows the string to be stored. | Boolean |
Common Errors
Object reference not set to an instance of an object
If an ActiveMQ Message queue is not configured correctly, an error will occur.
To correct this, ensure that the configuration for the ActiveMQ is correct and that the Message Queue is active.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get String from Active Queue 1[GetStringFromActiveQueue] in flow [Flow 1]: Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object. at Decisions.ActiveMessageQueue.ActiveMQUtils.GetAMQPConnection(ActiveMessageQueue messageQueue
at Decisions.ActiveMessageQueue.GetStringFromActiveQueue.Run(StepStartData data
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---