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 » IBM MQ API Support » What is the unit for Expiry of ImqMessage?

Post new topic  Reply to topic
 What is the unit for Expiry of ImqMessage? « View previous topic :: View next topic » 
Author Message
yslee2
PostPosted: Tue Feb 19, 2008 1:06 am    Post subject: What is the unit for Expiry of ImqMessage? Reply with quote

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.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 19, 2008 2:26 am    Post subject: Re: What is the unit for Expiry of ImqMessage? Reply with quote

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.
Back to top
View user's profile Send private message
yslee2
PostPosted: Tue Feb 19, 2008 4:01 am    Post subject: Reply with quote

Newbie

Joined: 10 Jul 2006
Posts: 8

Thanks for answering. It clears all my confusion.
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 » IBM MQ API Support » What is the unit for Expiry of ImqMessage?
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.