| Author | 
		  Message
		 | 
		
		  | mac.raqib | 
		  
		    
			  
				 Posted: Sun Jul 05, 2015 6:01 am    Post subject: Setting Message Expiry | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 05 Jul 2015 Posts: 1
  
  | 
		  
		    
			  
				Hi Guys,
 
 
I am trying to Set Message Expiry for 5 Min and posting a message But when the message is getting posted on OutPut Queue I am getting below Error. Kindly Advice.
 
 
File:CHARACTER:F:\build\S700_P\src\DataFlowEngine\ImbDataFlowNode.cpp
 
			Line:INTEGER:1073
 
			Function:CHARACTER:ImbDataFlowNode::createExceptionList
 
			Type:CHARACTER:ComIbmMQInputNode
 
			Name:CHARACTER:Test_Expiry#FCMComposite_1_1
 
			Label:CHARACTER:Test_Expiry.MQ Input
 
			Catalog:CHARACTER:BIPmsgs
 
			Severity:INTEGER:3
 
			Number:INTEGER:2230
 
			Text:CHARACTER:Node throwing exception
 
			RecoverableException
 
					File:CHARACTER:F:\build\S700_P\src\DataFlowEngine\ImbMqOutputNode.cpp
 
					Line:INTEGER:905
 
					Function:CHARACTER:ImbMqOutputNode::evaluate
 
					Type:CHARACTER:ComIbmMQOutputNode
 
					Name:CHARACTER:Test_Expiry#FCMComposite_1_3
 
					Label:CHARACTER:Test_Expiry.MQ Output
 
					Catalog:CHARACTER:BIPmsgs
 
					Severity:INTEGER:3
 
					Number:INTEGER:2230
 
					Text:CHARACTER:Caught exception and rethrowing
 
					ParserException
 
							File:CHARACTER:F:\build\S700_P\src\DataFlowEngine\ImbMqmdParser.cpp
 
							Line:INTEGER:1073
 
							Function:CHARACTER:ImbMqmdParser::writeMqmd
 
							Type:CHARACTER:ComIbmMQInputNode
 
							Name:CHARACTER:Test_Expiry#FCMComposite_1_1
 
							Label:CHARACTER:Test_Expiry.MQ Input
 
							Catalog:CHARACTER:BIPmsgs
 
							Severity:INTEGER:2
 
							Number:INTEGER:5912
 
							Text:CHARACTER:Exception whilst writing field named
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:MQMD
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:Expiry
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:3000
 
							RecoverableException
 
									File:CHARACTER:F:\build\S700_P\src\CommonServices\ImbValue.cpp
 
									Line:INTEGER:978
 
									Function:CHARACTER:ImbValue::typeError
 
									Type:CHARACTER:
 
									Name:CHARACTER:
 
									Label:CHARACTER:
 
									Catalog:CHARACTER:BIPmsgs
 
									Severity:INTEGER:3
 
									Number:INTEGER:2328
 
									Text:CHARACTER:Wrong type exception
 
									Insert
 
											Type:INTEGER:5
 
											Text:CHARACTER:CHARACTER
 
									Insert
 
											Type:INTEGER:5
 
											Text:CHARACTER:GMTTIMESTAMP | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sun Jul 05, 2015 12:03 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				In IIB the field type is expected to be a GMTTIMESTAMP an you're passing it an integer...  Try using CURRENT_GMTTIMESTAMP + INTERVAL 5 MINUTES...
 
 
Have fun   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Mon Jul 06, 2015 4:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| fjb_saper wrote: | 
   
  
	| In IIB the field type is expected to be a GMTTIMESTAMP an you're passing it an integer...  Try using CURRENT_GMTTIMESTAMP + INTERVAL 5 MINUTES... | 
   
 
 
 
It can be both.
 
 
@mac.ragib, post the code that sets the Expiry. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smuktineni | 
		  
		    
			  
				 Posted: Mon Jul 06, 2015 12:40 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 28 Aug 2003 Posts: 33 Location: Omaha 
  | 
		  
		    
			  
				SET OutputRoot.MQMD.Expiry = 6000; --Set in 1/10th of second intervals _________________ -Satish | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Jul 06, 2015 7:13 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Sorry my mistake. The OP was apparently passing a character, so not a Timestamp, neither an Integer...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |