JMS Transport Overview

JMS is a J2EE standard for sending messages, either text or Java objects, between Java clients.

Communication scenarios:

  • Peer-to-Peer. Also known as Point-to-Point. JMS implements point-to-point messaging by defining a message queue as the target for a message. Multiple senders send messages to a message queue, and the receiver gets the message from the queue.

  • Publish-Subscribe. Each message is sent from one publisher to many subscribers through a designated topic. The subscribers only receive messages sent after they have subscribed.

VuGen supports point-to-point communication by allowing you to send and receive JMS messages to and from a queue.

Before you can send messages over JMS transport, you need to configure several items that describe the transport:

  • JNDI initial context factory. The class name of the factory class that creates an initial context which will be used to locate the JMS resources such as JMS connection factory or JMS queue.

  • JNDI provider. The URL of the service provider which will be used to locate the JMS resources such as JMS connection factory or JMS queue.

  • JMS connection factory. The JNDI name of the JMS connection factory.

In addition, you can set a timeout for received messages and the number of JMS connections per process.

You configure these settings through the JMS runtime settings. For details, see the JMS > Advanced view.

Back to top

See also: