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 » Trigger a process using expired messages

Post new topic  Reply to topic
 Trigger a process using expired messages « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Thu Jun 02, 2005 4:51 am    Post subject: Trigger a process using expired messages Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Hello All,

I am on z/OS and websphereMQ 5.3.

We have defined a queue and triggering is enabled. When a message comes it triggers a CICS job.

Whats happened is a message landed on the queue trigerring the process, the message is still there and its "Persistant" and "Exipry" is set on the message.

A weekly CICS bounce (restart) takes place, after CICS is back the expired messages are triggering the process again. We didn't browse the messages so the messages are still on the queue.

My question is whether expired messages can trigger a process?

Note: I tried to search in mqseries forum and couldn't find anything appropriate.

Thanks.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
mqmhr
PostPosted: Thu Jun 02, 2005 5:03 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 105

From the AP Guide

Quote:
Since a message whose expiry time has elapsed may not actually be discarded until later, there may be messages on a queue that have passed their expiry time, and which are not therefore eligible for retrieval. These messages nevertheless count towards the number of messages on the queue for all purposes, including depth triggering.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 02, 2005 5:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Expired messages count against the qdepth.

QDepth is one of the conditions for triggering. If a trigger monitor starts up, and the queue is set to trigger on first and the queue depth is > 0, then a trigger message will be generated.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
CHF
PostPosted: Thu Jun 02, 2005 5:08 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

jefflowrey wrote:
Expired messages count against the qdepth.

QDepth is one of the conditions for triggering. If a trigger monitor starts up, and the queue is set to trigger on first and the queue depth is > 0, then a trigger message will be generated.



so, trigger message will be generated even message is expired ??

Is there any reference in any pdf of this?
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Thu Jun 02, 2005 5:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

CHF wrote:
Is there any reference in any pdf of this?


I think mqmhr showed one...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Jun 02, 2005 5:45 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Since the trigger msg is generated when the msg is put to the queue, the msg cannot be expired at the time the trigger msg is generated.

The msg can expire at any time after that, but a get from the queue will remove the expired msg, if the msg would have been returned to the app if it had not expired.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 02, 2005 7:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Nigelg wrote:
Since the trigger msg is generated when the msg is put to the queue, the msg cannot be expired at the time the trigger msg is generated.


Except in cases where the trigger monitor was started after the message was put to the queue.
_________________
I am *not* the model of the modern major general.
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 » Trigger a process using 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.