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 » Triggering based on Message expiry

Post new topic  Reply to topic
 Triggering based on Message expiry « View previous topic :: View next topic » 
Author Message
ghoshly
PostPosted: Tue Jun 03, 2008 8:30 pm    Post subject: Triggering based on Message expiry Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Hi,

I know that we can set a expiry period of a message in MQMD and if that period gets over before any application gets it from the queue , Queue manager will clear the message from the queue.Please correct me if I am wrong.
My question is can we trigger any application (eg. exit program) based on the expiry of a message ?

Thanks in advance.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Jun 03, 2008 8:39 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

AFAIK we can not do so...

we can trigger an application only when a message arrives in a particular queue.. not when it expires.. which is handled by MQ quite silently
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Tue Jun 03, 2008 9:20 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi ghoshly,

You can, if i'm not wrong...use the expiry reporting and move it to another queue, and trigger that.

Regards.
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Tue Jun 03, 2008 11:48 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

please keep in mind that the message may expire on the queue, and that the expiry report is created when..... some application tries to get the message or when the queuemanager removes the expired message (EXPRYINT). So there may be a time gap between the expiry time and the time the report is created.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 04, 2008 1:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Keep also in mind that the report gets sent (IIRC) to the reply to destination.
This may not be where you'd like the triggered program to run...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jun 04, 2008 6:07 am    Post subject: Reply with quote

Poobah

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

The expiry period includes time in any queue, not just the destination queue. This includes a transmission queue and dead letter queue.
_________________
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 » Triggering based on Message expiry
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.