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 » Bug: MQMD Expiry value

Post new topic  Reply to topic
 Bug: MQMD Expiry value « View previous topic :: View next topic » 
Author Message
MVO
PostPosted: Thu Nov 08, 2001 10:00 am    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

Applied to both versions MQSI 2.0.1 and MQSI 2.0.2:
If you specify an expiry value when putting a message to a queue, MQSI shows MQMD expiry value as the Expiry Timestamp, not the integer value. Any fix from IBM for this problem ?

Thanks
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 08, 2001 12:28 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

From the manual:

The Expiry field in the MQMD is a special case:
– If it is set to -1 (unlimited) it is converted to an integer
– If it is not set to -1, it is converted to a TIMESTAMP

If you need it as an integer, then you can subtract the CreationTime property from the ExpirationTime property. But I'm not sure what the units will be at this point.

But, I did notice that the way this field is handled is inconsistent. It only appears to do the above convertion on the incoming message. If you explicitly set the MQMD.Expiry in a Compute node, then referencing it later appears to give an Integer.

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Bug: MQMD Expiry value
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.