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 » How to obtain a list of subscribers for a particular topic

Post new topic  Reply to topic
 How to obtain a list of subscribers for a particular topic « View previous topic :: View next topic » 
Author Message
JT
PostPosted: Thu Mar 27, 2003 1:52 pm    Post subject: How to obtain a list of subscribers for a particular topic Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Is it possible to derive a list of users that are subscribing to a particular topic? So far, I have been browsing SYSTEM.JMS.PS.STATUS.QUEUE and pulling off the UserIdentifier from the message descriptor of each entry. Is there an easier way? Thanks !
Back to top
View user's profile Send private message
mcatama
PostPosted: Fri Mar 28, 2003 1:46 am    Post subject: Reply with quote

Novice

Joined: 10 Apr 2002
Posts: 17

Have you looked at the 'Subscriptions' view in the WMQI control centre? You can query on a topic and get a list of all the subscribers that the broker knows about.

Alison
Back to top
View user's profile Send private message
JT
PostPosted: Mon Mar 31, 2003 6:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Alison, I'm attempting to assemble this list dynamically within a message flow. As users subscribe and unsubscribe I'm looking to compile a list of users subscribing to a particular topic at any given time. Any thoughts.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Mar 31, 2003 6:51 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Your monitoring app could also use pub/sub...

See the Administration Guide, Appendix A. Event reporting
Quote:
This chapter describes the event messages that are published by a message broker
in response to:
v Configuration changes
v State changes
v User actions (such as subscription registrations, and when retained publications
expire)


Registration or deregistration of subscriptions causes events to be published using the following system topics:
$SYS/Broker/<broker_name>/Subscription/<topic>

The body of each publication is an XML message giving additional information concerning the registration or deregistration request.
These events are non-persistent, non-retained publications.

Is this what you are looking for?
Cheers,
Vicky
Back to top
View user's profile Send private message
JT
PostPosted: Mon Mar 31, 2003 10:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Vicky, this should work nicely. Thank-you very much!
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 » How to obtain a list of subscribers for a particular topic
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.