Get String From Active Queue
- 19 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Get String From Active Queue
- Updated on 19 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 8.8.0 |
Location | Integration > ActiveMQ |
The Get String From Active Queue step allows a user to get a list of ActiveMQ messages.
Properties
Settings
Property | Description | Data Type |
---|---|---|
MessageCount | The number of messages to return | --- |
QueueName | The desired Message Queue to retrieve messages from | --- |
Outputs
Property | Description | Data Type |
---|---|---|
Messages | List of messages found | List of String |
Messages with Metadata | List of messages with metadata found | List of ActiveMQMessageWithMetadata |
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 ---
Was this article helpful?