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 Discussion » TRIGGERING

Post new topic  Reply to topic
 TRIGGERING « View previous topic :: View next topic » 
Author Message
mqramu
PostPosted: Wed Mar 17, 2004 9:28 am    Post subject: TRIGGERING Reply with quote

Newbie

Joined: 17 Mar 2004
Posts: 2

HI EVERY BODY,

An application queue definition contains the following trigger parameters
TRIGGER+TRIGTYPE(EVERY)+TRIGDPTH(100)+TRIGPRI(5)

IF this is situation how the trigger will be generated.Please explain

Thank you
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Mar 17, 2004 9:55 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Read the Script (MQSC) Command Reference. It explains for each of the Trigger options how they interact. From that you should be able to work out when the Trigger will happen.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
QueenBee
PostPosted: Thu Mar 18, 2004 12:11 pm    Post subject: Answer for TRIGGERING Reply with quote

Apprentice

Joined: 28 May 2003
Posts: 43
Location: Grand Rapids, MICHIGAN

TRIGGER+TRIGTYPE(EVERY)+TRIGDPTH(100)+TRIGPRI(5)


This is my part of the answer:

It would trigger for every 100 "priority 5" message that arrives on the queue.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Mar 18, 2004 2:48 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Its a trick question QueenBee!

You might find something like this on an exam one day.

Personally, I would go to the Application Programming Referance Manula Chapter 40 to get the correct answer to this one.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
techno
PostPosted: Thu Mar 18, 2004 3:53 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

I guess
TRIGDPTH(100) is not considered when TRIGTYPE(EVERY)
So the app/process gets triggered for every message having priority 5 and more.

I have question. Is Triggere Monitor needed to be running, to get trigger message generated on InitQ? Where from the Trigger Monitor takes charge? It should be after message arrival on InitQ. Please help in understanding this. (Trigger Message is not getting generated in my case. I tried doing EC=VERY also. This is on MF. )

Thanks
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Mar 19, 2004 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

A trigger monitor has to be running before a trigger message will be generated. Have a look at the MQ Application Programming Guide Chapter 14. In the conditions for a trigger event number 8 states..

Quote:
"A trigger monitor currently has the initiation queue open for removing messages (that is, the OpenInputCount local queue attribute is greater than zero)."
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 Discussion » TRIGGERING
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.