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

Configuring the JMS Adapter for the Send/Receive mode

To configure JMS adapter for send/receive mode:
1. To configure the JMS Adapter, double-click the SendReceive workstep to open the Properties view. Click the button in the Performer field and select the GenericJMSAdapter, as described in Step 6.
2. Click the Configuration tab of the SendReceive workstep Properties view and then click Configure to open the JMS Adapter Configurator dialog box.
3. Set the Send/Receive option from the Adapter Mode list, since we both send the message and receive the response in a single workstep. Keep the connection factory name "jms/BMConnectionFactoryXA". For the Queue Name (JNDI Name) enter "jms/JMSAdapterQueue"–this is the default "incoming" queue for the JMS Adapter. Note that you are trying to simulate the action of the EIS by directly sending the message to the incoming queue.
4. As we selected the Send/Receive option, both the Outgoing Message and Incoming Message tabs are enabled. Click the Outgoing Message tab and define the message format.
5. As there is no real client, the "response" that we receive is actually the same message we sent.
Click the Incoming Message tab and define the message format as described for the outgoing message in Step 3. The completed incoming message appears.
6. Ensure that you use exactly the same parameter names and data types for both the outgoing and incoming messages.
7. Click OK to complete JMS Adapter configuration, and automatically open the Dataslot Mapping dialog box.