| Author | 
		  Message
		 | 
		
		  | Rookie | 
		  
		    
			  
				 Posted: Tue Apr 23, 2002 8:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 17 Apr 2002 Posts: 6
  
  | 
		  
		    
			  
				Hi all,
 
I have Q based app (Put/Get), and was wondering if there was a way to put a copy of every message which showed up on the Queue on to another Q.
 
I looked at modifying MQBrowse but I am not sure if I can capture *every* single message as it comes onto the Queue.
 
 
Any sugestions?
 
 
thanks
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Tue Apr 23, 2002 8:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Jedi Knight
 
 Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA 
  | 
		  
		    
			  
				You can modify your put application to write message to one more additional queue. Or modify get application which first copies the message to second queue and do further processing.
 
 
 _________________ Kiran
 
 
 
IBM Cert. Solution Designer & System Administrator - WBIMB V5
 
IBM Cert. Solutions Expert - WMQI
 
IBM Cert. Specialist - WMQI, MQSeries
 
IBM Cert. Developer - MQSeries
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Rookie | 
		  
		    
			  
				 Posted: Tue Apr 23, 2002 8:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 17 Apr 2002 Posts: 6
  
  | 
		  
		    
			  
				
 
That would work if I controlled the Application. 
 
However, I have no control of the Get/Put Apps, I do have access to the MQserver though.
 
I am wondering if there is any way to write some kind of exit, which copies the message to another Queue.
 
 
thanks
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | StefanSievert | 
		  
		    
			  
				 Posted: Tue Apr 23, 2002 10:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 28 Oct 2001 Posts: 333 Location: San Francisco 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Tue Apr 23, 2002 10:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				Is the Source Application on the same machine as the Destination Application???
 
 
If they are on diffrent machines you can insert an application between them to 
 
put to the both queues.
 
 
 
 _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Rookie | 
		  
		    
			  
				 Posted: Wed Apr 24, 2002 6:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 17 Apr 2002 Posts: 6
  
  | 
		  
		    
			  
				Stefan 
 
Thanks for the info.  I will look into the code.
 
Rookie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Wed Apr 24, 2002 9:10 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
			  
				Hi,
 
 
There is also the program that I wrote called "Message Multiplexer" (MMX).  It will copy messages from a source queue to "n" number of destination queues.
 
 
It is written in 'C' and it is being used on a variety of platforms (WinNT, Unix & MVS).  You can download it at 
 
http://www.geocities.com/capitalware/mqseries.html
 
 
later
 
Roger... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |