Namespace Handling for Southbound Replies

The orchestrator listens on a single queue, specified by the orchestratorInboundQueue property, for all replies.

Namespaces are essential to correctly identify the type of message. Southbound systems are expected to include namespaces in their replies as part of the JMS header, with the header name _nm_ and the following values:

JMS Header Property Name Value
Pre-Qualification Failed Response
  • PreQualificationFailedResponseEvent
  • Plan Item Execute Response PlanItemExecuteResponseEvent
    Plan Item Execute Request PlanItemExecuteRequestEvent
    Plan Item Activate Request PlanItemActivateRequestEvent
    Plan Item Suspend Reply PlanItemSuspendResponseEvent
    Milestone Notification Request PlanItemMilestoneNotifyRequestEvent
    Plan Item Error Handler Response / Plan Item Failed Response PlanItemFailedResponseEvent
    Feasibility Response

    FeasibilityResponseEvent

    Additional Messages Handled by Orchestrator Inbound Queue

    Apart from the southbound replies, the orchestratorInboundQueue also handles messages routed by the orchestrator from REST to EMS. For these messages, the Orchestrator attaches the appropriate namespace header (_ns_) in the JMS message. The namespaces for these messages are as follows:

    Header Property Name Value
    Withdraw Order Request WithdrawOrderEvent
  • Suspend Order Request
  • SuspendOrderEvent
  • Cancel Order Request
  • CancelOrderEvent
  • Activate Order Request
  • ActivateOrderEvent
  • Amend Order Request
  • AmendOrderEvent
  • Purge Order Request
  • PurgeOrderEvent
    Plan Submission from AOPD AopdRequestEvent
    Plan Generation Failure AopdPlanErrorNotificationEvent

    This namespace handling ensures that the orchestrator can correctly identify and process each type of message, improving efficiency and accuracy in message processing.

    For more information, refer to the $OM_HOME/samples/JMS_Request_Response_Samples.zip file.