ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI Pub/Sub

Post new topic  Reply to topic
 MQSI Pub/Sub « View previous topic :: View next topic » 
Author Message
mqhelp
PostPosted: Fri Aug 01, 2003 11:37 am    Post subject: MQSI Pub/Sub Reply with quote

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
View user's profile Send private message
Yannanlu
PostPosted: Fri Aug 08, 2003 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqhelp
PostPosted: Sun Aug 10, 2003 7:53 pm    Post subject: Pub/Sub Reply with quote

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
View user's profile Send private message
Yannanlu
PostPosted: Mon Aug 11, 2003 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI Pub/Sub
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.