Skip to Content

PI 7.30 added JMS topics support to the JMS adapter. Topics provide true pub/sub support. In this blog, we will look at the configurations for JMS topics using IBM MQSeries 7 as an exmaple.

Background Info:

JMS topic provides a true pub/sub architecture. This means that consumers can subscribe to a topic, and whenever a message is published to that topic, the consumer will receive the message. PI 7.30’s JMS adapter can be a subscriber of a topic. The JMS adapter can also publish to a topic. When publishing to a topic, whoever subscribes to that topic will receive the message. This means that receivers (or subscribers) can be added to the integration scenario without us having to make any changes in PI.

In the blog, we will use IBM MQSeries 7 as an example. On the MQ server, topics will have to be created. For more information on the creation and configuration of topics, please reference the following link:
Publish/Subscribe Messaging Can Be Simple with WebSphere MQ

The configuration is quite simple. We basically only need the TopicConnectionFactory java class and the Topic Java Class. For MQ:
TopicConnectionFactory Java Class: com.ibm.mq.jms.MQTopicConnectionFactory
Topic Java Class: com.ibm.mq.jms.MQTopic

It is assumed that the com.sap.aii.adapter.lib.sda has already been deployed with the MQ7 drivers.

JMS Sender Communication Channel:
image
JMS Receiver Communication Channel:
image

 

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Sudheer R

    Hi William,

    True…I have successfully tested the enable topic option using Hermes JMS….we don’t need any java proxy to interpret the topic message’s anymore like in 7.11

    Thanks

    Sudheer

    (0) 
    1. pavan thiruveedula

      Hi William,

      Thanks for the nice blog. I have requirement where i am integrating Microsoft Biztalk. I need to fetch the data using publishsubscribe. Is it possible with using JMS adapter? If yes what would be my transport protocol in JMS sender adapter?

      Thanks,

      Pavan T

      (0) 

Leave a Reply