|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSI Pub/Sub |
« View previous topic :: View next topic » |
Author |
Message
|
mqhelp |
Posted: Fri Aug 01, 2003 11:37 am Post subject: MQSI Pub/Sub |
|
|
Newbie
Joined: 20 Jun 2003 Posts: 6
|
Hi,
Anyone can help me in finding a workaround to identify if the topic has already been registered with the broker before I publish a message without looking into the Broker Database?
Thanks,
Srini |
|
Back to top |
|
 |
Yannanlu |
Posted: Fri Aug 08, 2003 4:50 pm Post subject: |
|
|
Apprentice
Joined: 23 Jan 2002 Posts: 27
|
The beauty of Pub/Sub is to separate producer and comsumer. It means when you publish a topic, you have no idea who is going to get it. On the sub side, it is the same. Therefore, you have to query the broker DB to get the list of the subscriptions, just like the control center. With MQSI, there is a command to do this job. You can run the command via ssh and parse the output for your topics. We use this method in our JMS code for admin purpose. |
|
Back to top |
|
 |
mqhelp |
Posted: Sun Aug 10, 2003 7:53 pm Post subject: Pub/Sub |
|
|
Newbie
Joined: 20 Jun 2003 Posts: 6
|
Hi,
Thank you for your reply. Could you please give more details about the command that can be run on MQSI.
Thanks,
Srini |
|
Back to top |
|
 |
Yannanlu |
Posted: Mon Aug 11, 2003 9:47 am Post subject: |
|
|
Apprentice
Joined: 23 Jan 2002 Posts: 27
|
Sorry for leaving mqsi cmd out. Here you are:
mqsibrowse BROKER_NAME -t bsubscriptions
run this cmd as mqsi on the broker box.
Yannan |
|
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
|
|
|
|