Messaging modes

In JMS, a connection factory is the precursor to a connection and this connection is the precursor to a session. It is in the session that messages, message producers and message consumers are created. The message producer sends messages to a destination while a message consumer receives messages from a destination. A destination can be either a topic or a queue.

When configuring an action, card or node for the JMS adapter, use the Mode action property to select the messaging mode. When the Mode property is set to Point-to-Point (PTP), the Queue property is enabled for editing. When it is set to Publish and Subscribe (Pub/Sub), the Topic property is enabled for editing. The default value for the Mode property is Point-to-Point (PTP).

JMS provides two messaging models as described in the following sections: