| Author | 
		  Message
		 | 
		
		  | mquser925 | 
		  
		    
			  
				 Posted: Fri Jun 06, 2008 6:50 am    Post subject: QALIAS in the header? | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 22 Apr 2008 Posts: 61
  
  | 
		  
		    
			  
				Hi all,
 
 
I am creating qaliases to reference a local Q and I ma wondering if the qalias that was used is located anywhere in the message header. I looked at the message with amqsbcg but I did not see the qalias anywhere. Is it possible to get the qalias used once the message is on the local queue? I am trying to cut back on the number of queues needed.
 
 
Reason that I am asking is that I've got 1000 queue managers connecting to my cluster and 10 queues per QM so I am trying to lighten the load by aliasing all 10 to the same queue. But I need to be able to distinguish which queue alias the message came from. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Gaya3 | 
		  
		    
			  
				 Posted: Fri Jun 06, 2008 8:10 am    Post subject: Re: QALIAS in the header? | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US 
  | 
		  
		    
			  
				
   
	| mquser925 wrote: | 
   
  
	
 
I am creating qaliases to reference a local Q and I ma wondering if the qalias that was used is located anywhere in the message header. 
 
 
I looked at the message with amqsbcg but I did not see the qalias anywhere. Is it possible to get the qalias used once the message is on the local queue? I am trying to cut back on the number of queues needed.
 
. | 
   
 
 
 
QALIAS is just a nick name and its not a real queue, it can point to another queue which should be a Real queue
 
 
it wont present in the Message header.
 
 
mainly QALIAS is used to hide the details of main business/application queues (in order to avoid Accidental deletion or corruption of the queues)
 
 
AFIK you wont get the QALIAS name from the local queue
 
 
Regards
 
Gayathri _________________ Regards
 
Gayathri
 
-----------------------------------------------
 
Do Something Before you Die | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mquser925 | 
		  
		    
			  
				 Posted: Fri Jun 06, 2008 8:29 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 22 Apr 2008 Posts: 61
  
  | 
		  
		    
			  
				| What about when the application is putting the message to the queue? Do they have the option of specifying any additional information in the header like message format? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Fri Jun 06, 2008 9:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				
   
	| mquser925 wrote: | 
   
  
	| What about when the application is putting the message to the queue? Do they have the option of specifying any additional information in the header like message format? | 
   
 
 
Today you could do that from an application by using an RFH2 header, but not all receiving applications can properly handle an RFH2 header.
 
 
If you hold on a little longer, 2-3 weeks from now... 
 
V7 will be available and this can be addressed but still needs to be explicitly coded in the application by using Message Properties    
 
I have not tested this yet, but I believe message properties will be "lost" when mixing of V7 with V6 environments occur. _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Jun 06, 2008 2:24 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| Michael Dag wrote: | 
   
  
	
 
V7 will be available and this can be addressed but still needs to be explicitly coded in the application by using Message Properties    
 
I have not tested this yet, but I believe message properties will be "lost" when mixing of V7 with V6 environments occur. | 
   
 
 
You can configure it so that it automatically converts the properties into an RFH2 when downshifting to V6.   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |