|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Problem in remote queue configuration | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | wilsonho3 | 
		  
		    
			  
				 Posted: Sat Aug 03, 2002 7:26 pm    Post subject: Problem in remote queue configuration | 
				     | 
			   
			 
		   | 
		 
		
		   Voyager
 
 Joined: 20 Nov 2001 Posts: 98 Location: Hong Kong 
  | 
		  
		    
			  
				I have some problem in remote queue definition need help. Within a 
 
Qmgr communication, to have a queue manager communication, we
 
need to set up a remote queue like below
 
 
sending side
 
--------------
 
 
define qr(aaa) rname(bbb) rqmname(qa)
 
 
bbb is the oppositive side's lcoal queue name
 
qa is the  oppositive side's queue manager name
 
 
 
receiving side 
 
----------------
 
 
define qr(bbb) rname(ccc) rqmnamee(qb)
 
 
ccc is oppositive side's local queue name
 
qb is oppositive side;s lcoal queue name
 
 
My problem is in the sending side, I provide the ReplyToQ &
 
ReplyToQmgr name, How can the oppositive side send the
 
message back to the replyToQueue secified in the sending message
 
without the remote queue configuration. Is it there is no need to set up
 
the remote queue in the oppoeitive side and the queueu manager 
 
resolve the return destination for me. 
 
 
Best regards
 
wilson | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | sgopal | 
		  
		    
			  
				 Posted: Sat Aug 03, 2002 10:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Acolyte
 
 Joined: 30 Jul 2002 Posts: 63
  
  | 
		  
		    
			  
				Suppose you want to send messages between QMA to QMB. then you can define the following. 
 
 
On QMA, 
 
 
Define qremote(aaa) rname(bbb) rqmname(QMB) xmitq(QMB)
 
Define qlocal(ccc)
 
Define qlocal(QMB) usage(xmitq)
 
 
Define channel(QMA.TO.QMB) chltype(SDR) CONNAME(QMB) 
 
trptype(TCP) XMIT1(QMB) 
 
 
Define channel(QMB.TO.QMA) chltype(RCVR) trptype(TCP)
 
 
On QMB,
 
 
Define qremote(eee) rname(ccc) rqmname(QMA) xmitq(QMA)
 
Define qlocal(bbb)
 
Define qlocal(QMA) usage(xmitq)
 
 
Define channel(QMB.TO.QMA) chltype(SDR) CONNAME(QMA) 
 
trptype(TCP) XMIT1(QMA) 
 
 
Define channel(QMA.TO.QMB) chltype(RCVR) trptype(TCP)
 
 
Putting message on remote queue from a queue manager will result in transmission of message to local queue of the queue manager. 
 
 
Hope this helps. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mgrabinski | 
		  
		    
			  
				 Posted: Sun Aug 04, 2002 9:35 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Master
 
 Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland 
  | 
		  
		    
			  
				If you want to use the ReplyToQueue mechanism, define (on the remote qmgr) a transmission queue with name matching the sending queue manager name.
 
 
See the definitions sent by sgopal _________________ Marcin Grabinski   <>< | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |