|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to obtain a list of subscribers for a particular topic |
« View previous topic :: View next topic » |
Author |
Message
|
JT |
Posted: Thu Mar 27, 2003 1:52 pm Post subject: How to obtain a list of subscribers for a particular topic |
|
|
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 |
|
 |
mcatama |
Posted: Fri Mar 28, 2003 1:46 am Post subject: |
|
|
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 |
|
 |
JT |
Posted: Mon Mar 31, 2003 6:41 am Post subject: |
|
|
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 |
|
 |
vmcgloin |
Posted: Mon Mar 31, 2003 6:51 am Post subject: |
|
|
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 |
|
 |
JT |
Posted: Mon Mar 31, 2003 10:41 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Vicky, this should work nicely. Thank-you very much! |
|
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
|
|
|
|