IBM Support

How does “Default Reply to Queue Name” work in the JMS Receiver configurations?

Question & Answer


Question

How does “Default Reply to Queue Name” work in the JMS Receiver configurations?

Answer

Sterling MCF Application introduced this feature in v8.0 HF31 wherein it honors the JMSReplyTo property.
The application added a new "Process Reply To Queue" check box in the Runtime property tab of the JMS Receiver. If a message has a queue as JMSReplyTo, the application sends the message to this queue after successful completion of the flow. The ReplyTo queue should have the same connection properties as that defined in the Runtime property tab.
A customer can define a default queue for the service by setting a queue name in the new "Default Reply To Queue Name" (referred to as the default queue) text box. If a message does not contain the JMSReplyTo property, but if the customer selects the “Process Reply To Queue” check box, then application sends the reply message to the default queue.
To illustrate:
Service 1:
Start -> JMS Receiver -> API (createOrder) -> End
The service posts the output XML of createOrder to the default queue.
Service 2:
Start -> JMS Receiver -> API (createOrder) -> API (getOrderDetails) -> End
In this service, the output XML of createOrder serves as an input XML to getOrderDetails. It then posts the output XML of getOrderDetails to the default queue.
If the previous component in the flow throws an error, then there should be an error XML in the default queue.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ3714

Document Information

Modified date:
16 June 2018

UID

swg21517355