| Author | 
		  Message
		 | 
		
		  | 10619474 | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 3:51 am    Post subject: HUB-SPOKE Concept | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 17 Aug 2015 Posts: 11
  
  | 
		  
		    
			  
				Hi,am new to MQ could u please tell me this question
 
we have 5 qmgrs one is hub and remaining 4 are spoks then how many channels u need to create the 4 spoke qmgrs to contact hub? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 3:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				If using SDR/RCVR pairs you will need one set from each as a minimum - if you read your own question you'll find you'd already answered it yourself    _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 10619474 | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 4:01 am    Post subject: HUb-SPOKE | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 17 Aug 2015 Posts: 11
  
  | 
		  
		    
			  
				Thanks exerk,for reply
 
So total 8 channels are need to define to contact the hub,and what about the HUB is there any channel need for that to receive msgs and reply to the hub | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 4:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				It is best to think of a Send and Receiver channel object as two parts of a whole.
 
One can't work without the other.
 
 
so to send from the Spoke QMGR to the HUB you need one SDR/RCVR pair from each spoke QMGR to the HUB. 
 
to go the other way... the same number of pairs are needed. _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 5:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				To be very clear:
 
 
To go from the HUB to the SPOKEA you need:
 
- A sender channel HUB.SPOKEA on the HUB
 
 - A receiver channel HUB.SPOKEA on SPOKEA
  
 
 
and the reverse for the reverse direction...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | gbaddeley | 
		  
		    
			  
				 Posted: Mon Aug 17, 2015 4:53 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia 
  | 
		  
		    
			  
				For point to point messaging to work between the spokes in a transparent manner, the spoke qmgrs are usually defined with DEFXMITQ that routes all outgoing msgs to the hub qmgr.  The hub qmgr then routes msgs to the destination spoke qmgr. This requires xmitqs on the hub that have the same name as the dest qmgrd, or qmgr aliases that resolve the dest qmgr to the relevant transmission queue. _________________ Glenn | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |