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 » Reading subscriptions information

Post new topic  Reply to topic
 Reading subscriptions information « View previous topic :: View next topic » 
Author Message
ACheeseman
PostPosted: Thu Sep 16, 2004 8:06 am    Post subject: Reading subscriptions information Reply with quote

Novice

Joined: 25 Feb 2004
Posts: 19
Location: London UK

Is there anyway to read subscription information from the broker without using the broker toolkit? I would like to be able to send the details of current subscriptions to a queue, so that they can be read by an external application. Is this possible?
Back to top
View user's profile Send private message MSN Messenger
RocknRambo
PostPosted: Thu Sep 16, 2004 8:48 am    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

are u trying to find out the topic ???

u can take all the subscriptions in the broker to a log file

try

mqsibrowse brokername -t bSUBSCRIPTIONS > subscriptions.log
and in the file u can find the queue ur looking for and its topic.


-sanu
Back to top
View user's profile Send private message
ACheeseman
PostPosted: Thu Sep 16, 2004 9:17 am    Post subject: Reply with quote

Novice

Joined: 25 Feb 2004
Posts: 19
Location: London UK

Thanks for your help. I'm actually trying to read the subscriptions through a message flow itself as I am trying to write a web based admin tool for subscriptions. More successful searching through previous posts has mentioned subscribing to various broker events such as $SYS/Broker/<broker name>/Subscription/#, which should (I hope) give me something to work on for a while.
Back to top
View user's profile Send private message MSN Messenger
ACheeseman
PostPosted: Fri Sep 17, 2004 1:29 am    Post subject: Reply with quote

Novice

Joined: 25 Feb 2004
Posts: 19
Location: London UK

Is it possible to do a select on the BSUBSCRIPTIONS table from a message flow, and convert the output (which appears to be RAW and BLOB) for topic, filter and clientid into meaningful strings? I am hoping here that clientid holds the same data as the Client field in the query subscriptions part of the broker toolkit - is this correct?
Back to top
View user's profile Send private message MSN Messenger
shanson
PostPosted: Fri Sep 17, 2004 3:01 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

I recommend that you use the subscription method on the appropriate $SYS topic to get back the information - that's exactly what the config mnager does internally.
Back to top
View user's profile Send private message
bobbee
PostPosted: Tue Sep 26, 2006 7:47 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

So if you wanted to design a registration serviceand wanted to be able to query the topics held in the Broker for subscription how would you implement this in a Broker.

Your requestor would require a list of the topics available for subscription. How do you acquire the informatin for presentation?
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Reading subscriptions information
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.