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 » General IBM MQ Support » how QM handles expired messages?

Post new topic  Reply to topic
 how QM handles expired messages? « View previous topic :: View next topic » 
Author Message
yaravind
PostPosted: Fri Oct 11, 2002 11:32 am    Post subject: how QM handles expired messages? Reply with quote

Apprentice

Joined: 17 Jun 2002
Posts: 25

HI All,

PLS let me know what happens to the expired messages on a Q. are they going to be still there in the Q or the queue manager deletes them?

In short what is the behavior of an expired message and how does the queue or queue manger handle it.

Your help is going to help me meet project dead lines

Thanks in advance.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
clindsey
PostPosted: Fri Oct 11, 2002 12:29 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

An expired message remains in the queue until a GET is done on the message. At that time, it is removed. Your application cannot access once it is marked expired.

If report options on the message descriptor include options for expired messages, some portion of the message or all of the message can be moved to the replytoqueue.

Charlie
Back to top
View user's profile Send private message
pgorak
PostPosted: Sun Oct 13, 2002 11:51 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

GET call results in removing a message that would have been retrieved had it not already expired. If you do not use match options, you will delete (with both browse and non-browse GET) all the expired messages on the queue up to the first unexpired, which will be returned (or, if there is no such a message, you will get MQRC_NO_MSG_AVAILABLE).

Note that in the case of using match options and msg/correl ID you may end up having a number of expired messages held in the queue - if this is the case, you can consider periodically browsing the queue (without match options), to clear it up.

Piotr
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 » General IBM MQ Support » how QM handles expired messages?
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.