Share this page

# Example: jms_publish_message_topic and jms_receive_message_topic

This example shows sending and receiving messages for the topic testTopic on subscription subscription_1. Received messages are saved in the JMS_message parameter.

    jms_subscribe_topic("subscribe_step", "subscription_1", "testTopic");
    jms_publish_message_topic("publish_step", "message to publish", "testTopic");
    jms_receive_message_topic("receive_step", "subscription_1", "testTopic");
    lr_output_message(lr_eval_string("message : \n{JMS_message}\n"));

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: