JMS Script Functions

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

Function Name
Description
jms_publish_message_topic
Publishes messages to a specific topic
jms_receive_message_queue
Receives a message from a queue
jms_receive_message_topic
Receives published messages to a specific topic on a subscription.
jms_send_message_queue
Sends a message to a queue.
jms_send_receive_message_queue
Sends a message to a specified queue and receives a message from a specified queue.
jms_subscribe_topic
Creates a subscription for a topic.
jms_set_general_property
Sets a general property in the user context.
jms_set_message_property
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).