| Author | 
		  Message
		 | 
		
		  | max2020 | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 6:24 am    Post subject: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				HI
 
 
I have to subscribe some topics depending on some initiators.
 
I am new to pub/sub so Pls guide how i can achieve this in WMB 7.   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 6:39 am    Post subject: Re: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| max2020 wrote: | 
   
  
	I am new to pub/sub so Pls guide how i can achieve this in WMB 7.   | 
   
 
 
 
You could try reading the product documentation:
 
 
"How do I develop publish/subscribe applications?"
 
 
  _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 7:21 am    Post subject: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				I went through the link provided. that was quite helpful.    
 
but how could i implement this using wmb. As i have been given a module where i need to subscribe some topics.    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 7:25 am    Post subject: Re: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| max2020 wrote: | 
   
  
	t how could i implement this using wmb. As i have been given a module where i need to subscribe some topics.    | 
   
 
 
 
When you went throught the link, did you notice at any point that what you were reading was the WMB documentation? And what you were reading described implementing pub/sub with WMB?
 
 
I conceed that that one specific page which is the target of the link doesn't tell you everything you need to know but does contain additional links with the additional information.   _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 7:42 am    Post subject: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				| yeah.. i think i should start with the publisher flow and than subscribe the registered topics... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Aug 30, 2013 8:03 am    Post subject: Re: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| max2020 wrote: | 
   
  
	| yeah.. i think i should start with the publisher flow and than subscribe the registered topics... | 
   
 
 
 
 
 
 
It's going to be difficult to get any subscribed data if nothing's publishing it. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Sat Aug 31, 2013 5:29 am    Post subject: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				Hi 
 
i took help from the samples and had deployed a publisher flow. but pls tell where i can see the topics created and the publication message    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Simbu | 
		  
		    
			  
				 Posted: Sat Aug 31, 2013 5:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Sat Aug 31, 2013 10:42 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				
 
 
hi...  that was rilli very helpful.       | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 5:05 am    Post subject: PUB/SUB WMB7 | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				hi 
 
 
The document gave the details of subscribing the topics using WMQ.
 
Can we subscribe Topics using wmb.??       | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 6:13 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				Can you describe exactly what you are trying to do? _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | max2020 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 9:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 29 Aug 2013 Posts: 7
  
  | 
		  
		    
			  
				
   
	| smdavies99 wrote: | 
   
  
	| Can you describe exactly what you are trying to do? | 
   
 
 
 
There is nothing like silly Mr ..... 
 
Every question is a valid one.. first you learn this small thing... 
 
Well my question was how can i can subscribe topics in my wmb flow ??
 
if u know how to achieve this than pls tell .. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 1:11 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				
   
	| max2020 wrote: | 
   
  
	
   
	| smdavies99 wrote: | 
   
  
	| Can you describe exactly what you are trying to do? | 
   
 
 
 
There is nothing like silly Mr ..... 
 
Every question is a valid one.. first you learn this small thing... 
 
Well my question was how can i can subscribe topics in my wmb flow ??
 
if u know how to achieve this than pls tell .. | 
   
 
 
 
There are ways to pretty well everything with Message Broker. Some things/methods are 'good' and others are 'bad'. 
 
Knowing the context of why you are trying to do this would help us to give you a more appropriate response. _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | new_to_wmb8 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 8:46 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India 
  | 
		  
		    
			  
				Hi max2020,
 
 
it is very simple, 1st you have make a pulish flow which publish the message to a topic using psc command in esql,  2nd you have to create the topic in MQ and a subscription in MQ for that topic,
 
ex. if topic is ABC then create a subscription DEF which is pointing to ABC, what ever message comes in ABC it goes to DEF(Q).
 
3rd make a subscription flow which pick the message from a queue of subscription and send it across to the end point application. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Sun Sep 01, 2013 10:28 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				
   
	| new_to_wmb8 wrote: | 
   
  
	Hi max2020,
 
 
it is very simple, 1st you have make a pulish flow which publish the message to a topic using psc command in esql,  2nd you have to create the topic in MQ and a subscription in MQ for that topic,
 
ex. if topic is ABC then create a subscription DEF which is pointing to ABC, what ever message comes in ABC it goes to DEF(Q).
 
3rd make a subscription flow which pick the message from a queue of subscription and send it across to the end point application. | 
   
 
 
 
That is not entirely correct/easy
 
 
As I see it, the OP wants to dynamically subscribe to a range of topics depending upon some external factor. 
 
Publishing to an existing topic is very simple but subscribing to a range of topics dynamically is not so easy or IMHO advisable.
 
 
Let us wait for the OP to describe exactly the context of how/why they want to do this before sending them down a possible dead end? _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |