ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Setting Message Expiry

Post new topic  Reply to topic
 Setting Message Expiry « View previous topic :: View next topic » 
Author Message
mac.raqib
PostPosted: Sun Jul 05, 2015 6:01 am    Post subject: Setting Message Expiry Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sun Jul 05, 2015 12:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jul 06, 2015 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
smuktineni
PostPosted: Mon Jul 06, 2015 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Mon Jul 06, 2015 7:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Setting Message Expiry
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.