| Author | 
		  Message
		 | 
		
		  | vijay707 | 
		  
		    
			  
				 Posted: Thu Mar 15, 2007 6:27 pm    Post subject: message persistence | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 12 Feb 2004 Posts: 18
  
  | 
		  
		    
			  
				| I am sending a non persistent message to persistent queue.If for some reason the queue manager fails and comes back up do I still have the message on the queue.Does message persistence override queue persistence.any suggestion would be of great help. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Mar 15, 2007 7:25 pm    Post subject: Re: message persistence | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| vijay707 wrote: | 
   
  
	| Does message persistence override queue persistence | 
   
 
 
 
YES.
 
 
There is no "queue persistance".
 
 
Queues have default persistance, that applications can choose to use on messages. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | pathipati | 
		  
		    
			  
				 Posted: Thu Mar 15, 2007 7:29 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 03 Mar 2006 Posts: 296
  
  | 
		  
		    
			  
				| Well if you don't specify any persistence while putting the message to the Persistent queue by default msg persistence will be Queue's Persistence but if you specify non-persistence then that msg won't take queue's persistence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jsware | 
		  
		    
			  
				 Posted: Fri Mar 16, 2007 12:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Chevalier
 
 Joined: 17 May 2001 Posts: 455
  
  | 
		  
		    
			  
				
   
	| pathipati wrote: | 
   
  
	| Well if you don't specify any persistence while putting the message to the Persistent queue by default msg persistence will be Queue's Persistence but if you specify non-persistence then that msg won't take queue's persistence. | 
   
 
 
This will be the default persistence of the queue you have MQOPENed, not the final destination queue.  Thus if you have open a QREMOTE or QALIAS, the persistence used will be that queue, not the QLOCAL that your remote/alias queue "points" to, or the XMITQ referenced/implied by the QREMOTE definition.
 
 
Just to clarify   because vijay said "send" and not "putting" which implied to me the message will be transmitted to a logically remote location.   _________________ Regards
 
John
 
The pain of low quaility far outlasts the joy of low price. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vijay707 | 
		  
		    
			  
				 Posted: Fri Mar 16, 2007 5:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 12 Feb 2004 Posts: 18
  
  | 
		  
		    
			  
				| Then I need to modify the message header to specify the persistence.Thanks for your suggestions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |