|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to create a topic on MQSeries?? |
« View previous topic :: View next topic » |
Author |
Message
|
prashant |
Posted: Thu Aug 01, 2002 3:03 am Post subject: How to create a topic on MQSeries?? |
|
|
Novice
Joined: 01 Aug 2002 Posts: 17
|
Hi,
I want to run SimpleTopicSubscriber example given by SUN java site using MQSeries. Can somebody please tell me how to administratively make a topic on MQSeries so that I can programmatically find it??
Thanks
Prashant Gupta |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Aug 01, 2002 5:42 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I haven't seen the Sun sample. In order to create topics for MQSeries JMS, you'll use the JMSAdmin tool that comes with SupportPac MA88. There are instructions in the Using Java manual. Basically, you'll issue something like:
def t(myTopic) topic(Sports/Scores)
where myTopic is what you try to find in your program and TopicGoesHere is what you are subscribing to (ie, something like the weather, sports, etc.) |
|
Back to top |
|
 |
prashant |
Posted: Thu Aug 01, 2002 8:46 pm Post subject: |
|
|
Novice
Joined: 01 Aug 2002 Posts: 17
|
Hi Bower,
I wanted to prepare a topic on MQSeries explorer first. Like we do in case of queues. First we prepare a queue on MQSeries explorer and then define it with jmsadmin tool. I can define a topic with jmsadmin tool only after creating a topic in MQSeries explorer. So i want o know how to prepare the topic in MQSeries explorer.
Thanks for ur reply
Prashant |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Aug 02, 2002 9:57 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The queue for a topic is created by using the runmqsc tool and the file MQJMS_PSQ.mqsc (which comes with MA88). Topics are a little different from queues. The queues are either based on a model queue for each subscriber or all subscribers use the same queue. There are details in Chapter 11 of the Using Java manual. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|