Configure JMS resources for publish/subscribe messaging
Configure a JMS resources for publish/subscribe messaging.
For an application to use publish/subscribe messaging with JMS topics, we configure the following JMS resources. These JMS resources depend on the corresponding configuration of service integration resources, including a service integration bus and topicspace. For more information about defining these resources, see the related tasks.
Tasks
- A JMS connection factory
We should use the connection factory type that matches the JMS level and domain pattern in which an application is developed. For example, use a domain-independent JMS connection factory for a JMS application developed to use JMS 1.1 domain-independent interfaces, and use a JMS topic connection factory for a JMS application developed to use domain-specific topic interfaces.
If durable subscriptions are to be used by the application, set the durable subscription properties on the connection factory.
- A JMS topic
A JMS topic is an administrative object that encapsulates the name of a topic and a topic space on a service integration bus. Applications can obtain the JMS topic by looking its name up in the JNDI namespace.
- Service integration resources For each JMS topic, define a bus destination as a topic space on a service integration bus, and assign the JMS topic to a topic name within that topic space.
Configure a unified connection factory for the default messaging provider Configure a topic connection factory for the default messaging provider Configure a topic for the default messaging provider Create a topic space for publish/subscribe messaging