JMS Resource Templates
JMS resource templates enable applications to access objects maintained in JMS servers.
The JMS resource templates are:
JNDI Connection Configuration - Provides a JNDI connection to look up a JMS server.
JMS Connection Factory - Used to create an outbound connection to a JMS server.
JMS Destination - Used for Request/Reply messages. Specifies destination objects, which represent virtual channels (topics and queues) in JMS. When a message is sent, it is addressed to a destination, not to a specific application. Any application that subscribes or registers an interest in that destination can receive that message. Depending on the JMS messaging model used, the destination is called a topic or a queue. In the publish-subscribe model, a message is published for many subscribers to a topic (destination). In the point-to-point model, one message is sent to one potential receiver using a queue (destination).JMS Resource Template Relationships
Identifying the JMS server is accomplished through the JNDI Connection resource template. All the other JMS resource templates contain a link for the JNDI Connection that assists them in determining which JMS server to look up. Additionally, before the connection to the JNDI server is made, the JNDI might require authentication. Authentication can take the form of a username and password, or supplying credential information stored in a keystore using an identity provider. If the JNDI server is SSL-enabled, you provide the required SSL configuration.
To establish request or reply communication, you need these resource templates: JMS Connection Factory, JMS Destination, and JNDI Connection.