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 - Is This Possible

Post new topic  Reply to topic
 Triggering - Is This Possible « View previous topic :: View next topic » 
Author Message
sboucher
PostPosted: Thu Feb 26, 2004 5:46 am    Post subject: Triggering - Is This Possible Reply with quote

Acolyte

Joined: 27 Oct 2002
Posts: 52

I would like to trigger a process when the QDepth reaches 3000 or every 15 minutes whichever comes first. The Queue will be constantly receiving messages during the business day.

I set Trigger Type to None and specified a QDEPTH of 3000 but nothing happend. Then Changed Trigger Type to First and still keeping a QDEPTH of 3000 then trigger fired all the time. What am I doing wrong and what are my options

Thanks
_________________
Scott A. Boucher
Database Administartor
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Feb 26, 2004 6:16 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Quote:

I would like to trigger a process when the QDepth reaches 3000

Set the type of Trigger to Depth, and set the Depth to 3000.

Quote:

I would like to trigger a process ... every 15 minutes

Not possible with MQ triggering out of the box.

Scott, read the chapter on Triggering in the App Prog Guide:
http://publibfp.boulder.ibm.com/epubs/html/csqzal06/csqzal06tfrm.htm
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqdev
PostPosted: Thu Feb 26, 2004 8:47 am    Post subject: If its UNIX, consider doing it through a cron job Reply with quote

Centurion

Joined: 21 Jan 2003
Posts: 136

Scott,
You could trigger a job every 15 mins and the first thing you need to do is to check if another instance of the same job is running (its possible that whn cron starts this process, it could have been triggered by MQ by virtue of QDepth reaching 3000).

If you are on Windows - am not sure. Check to see if you have an equivalent of cron on Windows

cheers!
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Feb 26, 2004 1:03 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

There's no way to use the trigger interval to achieve the 15 minute requirement?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
PeterPotkay
PostPosted: Thu Feb 26, 2004 3:06 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Nope.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sboucher
PostPosted: Fri Feb 27, 2004 12:34 am    Post subject: Reply with quote

Acolyte

Joined: 27 Oct 2002
Posts: 52

Thanks for the replies. I feel really stupid not scolling up in the triggering panel on the Q to find trigger type of Depth DUH!!

So everything is working but I find it a little strange that MQ after reaching the trigger depth turns off triggering and then needs to have something restart it.

As for satisfying the QDepth or time interval, Windows has its scheduler but doesn't get down to every x minutes. I would need a separate job for each time interval but could set that job to run every day, week, etc. Kinda Hokey unless I'm missing something. Our mainframe guys say they have Adam Ant (SP?) which can poll the server at time intervals and fire off a job to drain the Q.

Thanks Again
_________________
Scott A. Boucher
Database Administartor
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Triggering - Is This Possible
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.