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 » Query regarding Expiry property of MQMD

Post new topic  Reply to topic
 Query regarding Expiry property of MQMD « View previous topic :: View next topic » 
Author Message
rajesekhar.potteti
PostPosted: Thu Apr 10, 2008 4:10 am    Post subject: Query regarding Expiry property of MQMD Reply with quote

Newbie

Joined: 09 Apr 2008
Posts: 7

Hi,

I have designed 2 message flows with MQ Input Node, compute Node, MQ Output node. Wherein the computenode of first flow, I am setting OutputRoot.MQMD.Expiry=0. Ideally my message should be an expired message.

First flow output Queue is the input Queue of second Flow. My second message flow ideally should not pickup the expired message. But by resetting the Expiry to current timestamp, the message is being picked up by the second flow.

Explain, how the Expiry is getting reset to curretn timestamp and how an expired message is being getting picked up. Is there any property of MQInput node which is doing this? help me..
Back to top
View user's profile Send private message
AkankshA
PostPosted: Thu Apr 10, 2008 4:15 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

try setting the expiry value greater then 0 may be 1 ... and try...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu Apr 10, 2008 4:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981



What good is it to emit an expired message?

If you don't want to *send* a message, then "RETURN FALSE;"

Also, setting expiry to "the current timestamp" doesn't make sense, since Expiry is not a time field...

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/js01159.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 10, 2008 4:22 am    Post subject: Re: Query regarding Expiry property of MQMD Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajesekhar.potteti wrote:
Ideally my message should be an expired message.


Why?

rajesekhar.potteti wrote:
But by resetting the Expiry to current timestamp, the message is being picked up by the second flow.


Expiry is a number not a timestamp. By setting it to a timestamp, you're actually setting a large expiry value (which must run down before the message is considered expired).

rajesekhar.potteti wrote:
Explain, how the Expiry is getting reset to curretn timestamp and how an expired message is being getting picked up. Is there any property of MQInput node which is doing this? help me..


See above. Message expiry is a process within base MQ and nothing to do with any broker node.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
apaaar
PostPosted: Mon Apr 14, 2008 11:36 pm    Post subject: Reply with quote

Newbie

Joined: 04 Feb 2008
Posts: 7

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Query regarding Expiry property of MQMD
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.