Send messages over JMS
This task describes how to send messages using the JMS transport method.
To send messages over JMS:
-
Open the step properties: In the Step Navigator, select the step whose transport you want to set, and then select Show Arguments from the shortcut menu.
-
Select the Transport Layer Configuration node and choose JMS Transport.
For UI details, see New Web Service Call dialog box.
-
(Optional) Configure the runtime settings as described in the JMS > Advanced view.
-
(Optional) Once you create a Web Service call and designate the transport method as JMS, VuGen sends the JMS messages in a synchronous manner. If required, specify the queue information.
-
(Optional) To implement asynchronous messages over JMS, you send the request or retrieve the response using JMS steps—not Web Service calls.
-
Click within the script at the required location. Select Insert > New Step from the right-click menu, and locate the JMS Functions in the Steps Toolbox.
-
Select a JMS function: JMS Send Message Queue sends a message to a queue. JMS Receive Message Queue receives a message from the queue.
-
Click OK to open the JMS function properties.
-
Specify a queue name and click OK to generate the JMS functions.
For additional information about these functions, see the Function Reference (or click F1 on the function).
-
-
(Optional) To send messages over JMS, using the SOAP message and without a Web Service call:
-
Record SOAP messages using a standard web protocol.
-
Click within the script at the required location. Select Insert > New Step from the right-click menu, and locate the JMS Functions in the Steps Toolbox.
-
Select a JMS function: Send Message Queue or JMS Receive Message Queue.
-
Click OK to open the JMS function properties.
-
Specify a queue name and click OK to generate the JMS functions.
For details, see the Function Reference or click F1 on the function.
-