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 » getting expired messages.

Post new topic  Reply to topic
 getting expired messages. « View previous topic :: View next topic » 
Author Message
anilit99
PostPosted: Wed Aug 12, 2009 6:16 am    Post subject: getting expired messages. Reply with quote

Voyager

Joined: 28 May 2009
Posts: 75
Location: London, UK

Hi there,

Is there a way to tell MQ to move all the expired messages to a queue or something ?

I am just looking a way to configure the scavenger process which periodically discards the messages.

There are many useful discussions regarding the expired messages like this one :

http://www.mqseries.net/phpBB2/viewtopic.php?t=48756&postdays=0&postorder=asc&start=30

but none of them talked about this particular requirement.

Is it possible to do this way ?
_________________
"I almost care !"
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 12, 2009 6:23 am    Post subject: Re: getting expired messages. Reply with quote

Grand High Poobah

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

anilit99 wrote:
Is there a way to tell MQ to move all the expired messages to a queue or something ?




anilit99 wrote:
I am just looking a way to configure the scavenger process which periodically discards the messages.


The only platform on which the scavenger can be "configured" is z/OS, and even there it's actions are not configurable, simply it's timing.

anilit99 wrote:
but none of them talked about this particular requirement.

Is it possible to do this way ?




By definition, expired messages are no longer required. So the only thing you should do with them is delete them. What you're talking about here are messages which are still required, but have been on the queue past their "sell by" date. That's a business requirement and a little bit of code is what you need.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 12, 2009 6:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There are MQ Report Options that may help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 12, 2009 6:44 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
There are MQ Report Options that may help.


Though these require application changes, and can't just be done by the admin at the receiving end.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anilit99
PostPosted: Wed Aug 12, 2009 6:44 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2009
Posts: 75
Location: London, UK

The only reason why I am looking at them is for some sort of weird auditing purposes.

mqjeff wrote:
There are MQ Report Options that may help.

thanks ! is it a tool or a support pack or is it built in ? I am using V7 on windows.
_________________
"I almost care !"
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 12, 2009 6:50 am    Post subject: Reply with quote

Grand High Poobah

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

anilit99 wrote:
The only reason why I am looking at them is for some sort of weird auditing purposes.


They're auditing discarded messages? Producing a report of stuff that didn't matter?

anilit99 wrote:
mqjeff wrote:
There are MQ Report Options that may help.

thanks ! is it a tool or a support pack or is it built in ? I am using V7 on windows.
[/quote]

You'll find them described in the Application manuals; they're built in.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anilit99
PostPosted: Wed Aug 12, 2009 7:00 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2009
Posts: 75
Location: London, UK

Quote:
They're auditing discarded messages? Producing a report of stuff that didn't matter?

aw !
This is exactly the moment where I should bring in my PHB (Pointy Haired Boss) !

thanks for that pointer, Vitor ! I am on the case now !
_________________
"I almost care !"
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 12, 2009 7:10 am    Post subject: Reply with quote

Grand High Poobah

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

anilit99 wrote:
thanks for that pointer, Vitor ! I am on the case now !


Another pointer - hold the trout just past the tail and keep the wrist straight until you follow through....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
anilit99
PostPosted: Wed Aug 12, 2009 7:44 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2009
Posts: 75
Location: London, UK

I am working for a finance house. Yeah, thats exactly how it feels !
_________________
"I almost care !"
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Aug 12, 2009 8:05 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:
anilit99 wrote:
thanks for that pointer, Vitor ! I am on the case now !


Another pointer - hold the trout just past the tail and keep the wrist straight until you follow through....


not a golf player, eh? For maximum trout head speed, you need lag in the wrist to snap that fishy at top speed!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
anilit99
PostPosted: Wed Aug 12, 2009 8:14 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2009
Posts: 75
Location: London, UK

ok, i totally lost u guys !!
_________________
"I almost care !"
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 12, 2009 8:29 am    Post subject: Reply with quote

Grand High Poobah

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

PeterPotkay wrote:
Vitor wrote:
anilit99 wrote:
thanks for that pointer, Vitor ! I am on the case now !


Another pointer - hold the trout just past the tail and keep the wrist straight until you follow through....


not a golf player, eh? For maximum trout head speed, you need lag in the wrist to snap that fishy at top speed!


I have at no time in my time been cruel to a small white ball.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Aug 12, 2009 9:40 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Auditors ask for the most unusual things.

A message consists of two things, namely: An MQMD (MQ Message Descriptor), and your application data payload.

The qmgr fills in some of the fields in the MQMD; the application programmer fills in other fields. One of the MQMD fields is message expiry. The initial value of the expiry field is "never expire." Programmers can change expiry. Expiry is defined as time in any queue. Once that time has expired, no application program can MQGET the message.

Expired messages will sit in a queue until the scavenger component (an MQ internal process) deletes them. As has been discussed in other posts, there is no administrative configuration of the scavenger. Also, from other posts, there is little or no impact to applications or SLAs in the operation of the scavenger.

As to the auditing "requirement"... what is it exactly that the auditors want?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » getting 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.