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("subcribe_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"));