Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# JMS Resource Templates

The 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.

  JMS Destination 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 to 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

The JMS resource templates are used in different combinations to accomplish the tasks involved in setting up JMS enterprise messaging:

- Identifying the JMS server to connect to.
- Establishing request communication.
- Establishing reply communication.

Identifying the JMS server is accomplished through the JNDI Connection Configuration 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 user name and password, or supplying credential information stored in a keystore using an identity provider. If the JNDI server is SSL-enabled, you must provide the required SSL configuration.

To establish request or reply communication, you need these resource templates: JMS Connection Factory, JMS Destination, and JNDI Connection Configuration.

Note: If direct destinations are used, only the JMS Connection Factory resource template is needed.
Subtopics

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.