Author |
Message
|
Albator |
Posted: Fri Nov 12, 2004 12:42 pm Post subject: Trigger configuration |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
If I have the following:
value of 10 for TRIDEPTH
3 for TRIGPRI
and my TRIGTYPE is set to EVERY. Will the trigger kick in every time I get a priority 3 msg OR when it get 10 msgs of priority 10? |
|
Back to top |
|
 |
vennela |
Posted: Fri Nov 12, 2004 12:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I think this is one of the sample test questions.
For more information on triggers look at the application programming guide chapter 14.
It is very easy to find in the answer there. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 12, 2004 12:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
It will depend on your trigger type. The MQSC manual gives details on the three types of triggers (FIRST, EVERY, DEPTH) and how they use the other trigger parameters. Basically, a message has to be of the right priority in order to be counted. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Nov 12, 2004 1:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Quote: |
and my TRIGTYPE is set to EVERY. |
And that is the answer. Time to RTM.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Albator |
Posted: Fri Nov 12, 2004 2:06 pm Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
??
Every time OR everytime a priority msg of 3 gets in the queue? |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Nov 12, 2004 2:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
Albator |
Posted: Fri Nov 12, 2004 2:14 pm Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Nov 12, 2004 2:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
You did?
So, give me a quick summery of chapter 14 of the WMQ Application Programming Guide manual.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Albator |
Posted: Mon Nov 15, 2004 7:21 am Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
I would but you have to wait in line as I also have to prove it to IBM this Wed. at noon...
I do understand why people are not willing to answer this question as they had to work very hard to get their certification but it is a bit on the extreme (no hard feelings ). |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Nov 15, 2004 7:57 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
TRIGDPTH and TRIGPRI are ignored if TRIGTYPE is EVERY.
This looks like the relevant bit from the manual:
Quote: |
The number of messages on the queue with priority greater than or equal to TriggerMsgPriority was previously, depending on TriggerType:
Zero (for trigger type MQTT_FIRST)
Any number (for trigger type MQTT_EVERY)
TriggerDepth minus 1 (for trigger type MQTT_DEPTH)
|
In other words:
if TRIGTYPE is EVERY
then a trigger msg is generated for every msg that is put to the queue assuming all the other conditions for a trigger event are also met. The Any number above means that the number of msgs already on the queue is ignored.
A word of advice - do not try to prove to IBM that there is a bug in the triggering mechanism without being very sure of your grounds. Many people have tried, and very few have succeeded. The outcome in 99.99% of cases is that triggering works according to the manual, and that the supplicant has missed or misunderstood one of the trigger conditions. |
|
Back to top |
|
 |
Albator |
Posted: Mon Nov 15, 2004 8:07 am Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
Thanks Nigelg!
I was not clear on my previous statement by saying:
Quote: |
...have to prove it to IBM this Wed... |
What I mean is that I will write the exam on Wed.!
Thanks again for your reply. |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Nov 15, 2004 8:19 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
I think it is rather hard to have to remember the trigger conditions for the exam. I have to look them up in the manual every time! |
|
Back to top |
|
 |
EddieA |
Posted: Mon Nov 15, 2004 10:19 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
I do understand why people are not willing to answer this question as they had to work very hard to get their certification but it is a bit on the extreme (no hard feelings ). |
If you did understand, then you would not be asking the question.
Part of the agreement you make when you take the certification is not to discuss the questions or answers after.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Albator |
Posted: Mon Nov 15, 2004 2:35 pm Post subject: |
|
|
 Voyager
Joined: 04 Mar 2004 Posts: 75 Location: Toronto, Canada
|
You are making an unfair conclusion in your statement. The fact is that I did not know the question is SIMILAR to a TEST exam (as claimed by a previous user). I wrote that comment after. |
|
Back to top |
|
 |
|