Joined: 20 Jan 2002 Posts: 4 Location: Pennsylvania
I'm very familiar with MQSeries base java classes, however my latest project requires the publish/subscibing that JMS offers. I've dabbled with JMS a bit, basic peer-to-peer configuration works perfectly fine with no issues, but the trouble I'm having is configuring topics for the publish/subscribe model. Is it necessary to run the JNDI in order to just CREATE topics, even if you're not going to use JNDI lookups in the final code? And when I create a topic through the JMSAdmin will it create some kind of regular queue on MQSeries and use the JMS layer to handle all the publishing/subscribing .. ? I haven't found any documentation online which has been useful - unless you already know how to do it and only need minor help..
Thank you in advance for any help you can give..
-Ron
[ This Message was edited by: rrudy on 2002-01-21 11:42 ]
[ This Message was edited by: rrudy on 2002-01-21 11:44 ]
Is it necessary to run the JNDI in order to just CREATE topics, even if you're not going to use JNDI lookups in the final code?
>>No, its not necessary to run the JNDI if you are not using JNDI lookups in the final code. In that case, your code will be responsible to create the topics in the runtime and it will be MQSeries specific.
And when I create a topic through the JMSAdmin will it create some kind of regular queue on MQSeries and use the JMS layer to handle all the publishing/subscribing .. ?
>> If you create a topic through JMSAdmin then it wont create anything on the MQSeries Server. What it does is that it creates administered objects (Topic and TopicConnectionFactory) so that your code can lookup and get a reference to them at runtime.
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