Try OpenEdge Now
skip to main content
Managed Adapters Guide
JMS Managed Adapter : Tutorial 4: JMS Adapter - Receiving messages from external applications : Defining mapping to receive messages from external applications
 

Defining mapping to receive messages from external applications

To define mapping to receive messages from external applications:
1. The Dataslot Mapping dialog box automatically opens after configuring. Alternatively, in the Configuration tab of the Receive workstep Properties view, you can click Change mapping to open the Dataslot Mapping dialog box, where you can define the mapping for the message payload.
2. Map the data parameter from the message to the OrderData dataslot.
3. Since we configured the adapter in Receive-Only mode, we must supply the CorrelationID of the expected JMS message. Click the Runtime Setup tab, and configure the OrderID dataslot as the source of the CorrelationID parameter.
4. Click OK to complete the mapping.
5. Since the response of the message may come at any time — before or after the Receive workstep has been activated —, we must make sure that this workstep is configured as asynchronous. In the Advanced tab of the Properties view for the Receive workstep, make sure that the Wait for adapter to complete before processing box is not checked.
6. Save the process under the name OrderProcessing.