| Author | 
		  Message
		 | 
		
		  | jim | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 8:16 am    Post subject: Point to point | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 26 Nov 2013 Posts: 94
  
  | 
		  
		    
			  
				How can we send messages from QM1 to QM2 with out defining the remote definition and defining xmitq with same name as remote qmgr.
 
 
   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 8:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				When an application issues an MQPUT, the application can include two pieces of information.  The ObjectQueueName and the ObjectQueueManager name.
 
 
Both of these pieces of information go through a Name Resolution process, each and every time the message is Put.
 
 
This allows for the scenario you describe. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jim | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 8:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 26 Nov 2013 Posts: 94
  
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	When an application issues an MQPUT, the application can include two pieces of information.  The ObjectQueueName and the ObjectQueueManager name.
 
 
Both of these pieces of information go through a Name Resolution process, each and every time the message is Put.
 
 
This allows for the scenario you describe. | 
   
 
 
 
 
Thanks a lot...
 
But how the name resolution work in this case.   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 10:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				You need a QM Alias Queue that matches the name of the Destination QM that your app is using on the MQOPEN / MQPUT1.
 
 
That QM Alias queue resolves to the XMITQ, and so the XMITQ can be named whatever you want. _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jim | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 10:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 26 Nov 2013 Posts: 94
  
  | 
		  
		    
			  
				
   
	| PeterPotkay wrote: | 
   
  
	You need a QM Alias Queue that matches the name of the Destination QM that your app is using on the MQOPEN / MQPUT1.
 
 
That QM Alias queue resolves to the XMITQ, and so the XMITQ can be named whatever you want. | 
   
 
 
 
Ok. No need of XMITQ with same name of remote queue.
 
For reply message also no need of XMITQ with same name of QMGR | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Sep 29, 2014 10:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Not necessarily.
 
 
The documentation is helpful on this subject. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |