Try OpenEdge Now
skip to main content
Managed Adapters Guide
JMS Managed Adapter : Tutorial 2: Using the JMS Adapter in Send/Receive mode : Defining mapping for the Send/Receive mode
 

Defining mapping for the Send/Receive mode

To define mapping for send/receive mode:
1. The Dataslot Mapping dialog box automatically opens after configuring. Alternatively, in the Configuration tab of the SendReceive workstep Properties view, you can click Change mapping to open the Dataslot Mapping dialog box (or the Mapping Configurator), where you can define the mapping between the adapter inputs/outputs and the process dataslots.
2. Select the ProductID, Name, and Price dataslots to supply values for the outgoing message. Make sure that all the input parameters are mapped to a dataslot, else the JMS Adapter is not able to generate the output message.
3. Click the Incoming Message tab to define the mapping for the response. Select the R_ProductID, R_Name, and R_Price dataslots to store the values from the message response.
4. Click OK to complete the dataslot mapping.
In our previous tutorial, when we used the JMS Adapter to only send a message, the Adapter workstep is "synchronous"–that is, the adapter is called by BP Server and, when the adapter execution (sending of the message) completes, BP Server automatically completes the Adapter workstep, so the process execution can continue.