Try OpenEdge Now
skip to main content
Managed Adapters Guide
JMS Managed Adapter : Working with the JMS Adapter : Receiving messages: Passing the CorrelationID : Delivering messages to a receive-only workstep in a separate process
 
Delivering messages to a receive-only workstep in a separate process
If you want to deliver a message to an independent business process that contains a Receive-Only workstep instead of passing the message from one workstep to another in the same process, perform the following procedures:
1. Make sure that the Correlation ID of the message and the CorrelationID of the receiving workstep is configured to expect a match. For an example, see Defining mapping to receive messages from external applications.
2. If you know the process instance ID and the name of the receiving workstep, you can set the JMS correlation ID of the message in the following format:
    WS=process_instance_id:workstep_name
For example, a message with CorrelationID "WS=124:Adapter1" will be delivered to the workstep named Adapter1 in the process with Process Instance ID of "124".
3. In either of the preceding steps, make sure the JMS Adapter is properly configured in the Receive-Only mode.