Try OpenEdge Now
skip to main content
Managed Adapters Guide
JMS Managed Adapter : Tutorial 1: Using the JMS Adapter in Send-Only mode : Defining mapping for the Send-Only mode
 

Defining mapping for the Send-Only mode

To define mapping for send-only mode:
1. After configuring the JMS Adapter, you can define the mapping for the Send-Only mode, indicating the correspondence between message fields and the actual dataslots used in your process. The Dataslot Mapping dialog box automatically opens after configuring, or you can click Change mapping in the Configuration tab to open this dialog box.
2. Select the source dataslots to match the JMS Adapter input parameters, as shown above. Make sure that no input parameter has been left empty—otherwise, when the adapter gets executed, it will not know how to generate the output message.
Note: The data types that can be used in the JMS Adapter configurator do not necessarily match the standard data types of the Business Process Server dataslots. Where there is difference in the data types expected by the adapter (or returned from the adapter) and the mapped dataslot type, the run-time mapper will perform the necessary conversion. Refer to the "Supported Types for Conversion" table in the Developing Custom Managed Adapters chapter in the Customization Guide for more information about the data conversions supported by the mapper.
3. The Runtime Setup tab contains additional information, such as the message Correlation ID, that can be specified for the message. Although this tab is used for more complex configuration, it is not used in this case. Click OK to complete map configuration.
4. Save the SendMessage workstep properties and the process.
You can now publish and test the process. From Business Process Portal, monitor the process execution. If the application server allows it, check the content of the Q1 queue to verify that the message is sent.