| Author | 
		  Message
		 | 
		
		  | ACheeseman | 
		  
		    
			  
				 Posted: Thu Sep 16, 2004 8:06 am    Post subject: Reading subscriptions information | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RocknRambo | 
		  
		    
			  
				 Posted: Thu Sep 16, 2004 8:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ACheeseman | 
		  
		    
			  
				 Posted: Thu Sep 16, 2004 9:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ACheeseman | 
		  
		    
			  
				 Posted: Fri Sep 17, 2004 1:29 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shanson | 
		  
		    
			  
				 Posted: Fri Sep 17, 2004 3:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bobbee | 
		  
		    
			  
				 Posted: Tue Sep 26, 2006 7:47 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 20 Sep 2001 Posts: 546 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |