JMS Script Functions

VuGen uses its API functions to implement the JMS transport. Each function begins with a jms prefix:

Function Name
Publishes messages to a specific topic
Receives a message from a queue
Receives published messages to a specific topic on a subscription.
Sends a message to a queue.
Sends a message to a specified queue and receives a message from a specified queue.
Creates a subscription for a topic.
Sets a general property in the user context.
Sets a JMS header or property for the next message to be sent, or uses a JMS header or property to filter received messages.

The JMS steps/functions are only available when manually creating scripts—you cannot record JMS messages sent between the client and server.

Unlike peer-to-peer communication that uses message queues, the publish-subscribe functions, jms_publish_message_topic, jms_subscribe_topic, and jms_receive_message_topic, are not supported for Web Service calls. To use these functions with Web Service calls, you must manually set up user handlers to generate the JMS message payload. For more information, see Create a User Handler.

For details about the JMS functions, see the Function Reference (or click F1 on the function).