Posted: Wed Aug 12, 2009 1:32 pm Post subject: Can JMS Handle Multiple Topics in the same Publication?
Acolyte
Joined: 23 Oct 2008 Posts: 52
We have legacy publisher applications that are publishing RFH1 messages with multiple topics. More recently, we've moved to JMS and we have some subscriber applications that need to subscribe to these RFH1 pubs with multiple topics.
We use Message Broker to transform the RFH1 pub into a RFH2/JMS pub. It was found a while ago, and with the help of IBM, that subscribers were having problems with a RFH2/JMS pub with multiple topics. The details of what exactly was wrong were before my time and no one else seems to remember.
The solution was to split the incoming RFH1 pub into a RFH2/JMS for each topic. Seems to work fine, but some application owners don't like the idea of now having to handle multiple publications when using JMS.
It seems to me that this might be a limitation of the JMS API since I don't see any publish method that accepts an array of Topic objects. I went to test this out using rfhutil and a simple Message Broker flow with an MQInput wired to a Publication node. What I saw was that only the last topic listed in the MQRFH2 header was sent to subscribers.
Would anyone here be able to clarify whether or not it's possible to have multiple topics in a RFH2/JMS pub? Whether or not it's the right thing to do is a different question, but for now I'm just looking for some definitive proof one way or another that this will or will not work.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum