Posted: Tue Feb 19, 2008 1:06 am Post subject: What is the unit for Expiry of ImqMessage?
Newbie
Joined: 10 Jul 2006 Posts: 8
I am using the ImqMessage API in C++ and the document says that Expiry is a time-dependent quantity that controls how long WebSphere MQ retains
an unretrieved message before discarding it. The initial value is
MQEI_UNLIMITED.
What does it mean by time-dependent? And what is the actual unit?
My test tells me it is one-tenth of a second, but i want to confirm whether i am right.
Posted: Tue Feb 19, 2008 2:26 am Post subject: Re: What is the unit for Expiry of ImqMessage?
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
yslee2 wrote:
What does it mean by time-dependent?
It means it's dependent on the time the message has been in existence.
yslee2 wrote:
And what is the actual unit?My test tells me it is one-
tenth of a second, but i want to confirm whether i am right.
The C++ object wraps round the MQMD fields (including Expiry) which are documented in the Application Programming Reference, along with other information you might find useful.
Expiry is measured in tenths of a second (as per the APR). Note that expired messages may remain on a queue past their expiry time (visible in queue depth for instance) even though they can't actually be retrieved. _________________ Honesty is the best policy.
Insanity is the best defence.
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