|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Event Queue Design not consistent ??? |
« View previous topic :: View next topic » |
Author |
Message
|
Shalini |
Posted: Mon Jul 12, 2004 7:17 am Post subject: Event Queue Design not consistent ??? |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi,
I have a particular requirments where If the "High Depth limit" or "low depth limit" for a queue is reached, then QM should put the performence event to a "SYSTEM.ADMIN.PERFM.EVENT".
I just tried by enabling QM Performence Event and making the queue Event to enable (low depth and high depth event enabled).
Just for testing purpose I have High Depth limit=3 & low depth limit = 0.
But the behaviour of performence as observed was not consistent ie the QM rarely puts the Event message to "SYSTEM.ADMIN.PERFM.EVENT".
Since I tried simulating the 0 (low depth) and 3 (high depth) but QM rarely puts the message to Performence Event queue.
I donot know If Iam missing any thing ?
My requirments is if the Event (Performence Event ) reaches 3 then I invoke a triggger which gets message from the another queue.
 |
|
Back to top |
|
 |
clindsey |
Posted: Mon Jul 12, 2004 7:47 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
The high and low values are expressed as a percentage of queue depth, so your "3" creates a high depth when the queue is 3% full. It may be difficult to attain enough granularity to fire an event on depth of 3 messages. You may want to experiment with triggering and TRIGDPTH instead of event messages.
Charlie |
|
Back to top |
|
 |
Shalini |
Posted: Mon Jul 12, 2004 8:20 am Post subject: |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi,
My question remains the same.
1) But as per defination "high and low values" it should have to enable the event why it does not?
2) My specific requirment is when the depth of a queue "A" is 0. then I have to invoke another queue "B" to put put 3 (or n messages) messsages into the empty queue "A".
Since the depth of 0 is not allowed in trigger. (its from 1 to 9999...)
I just tried having the low with zero, & high event (of 3) in Queue "A" , so that when the 3 message are in Queue A. My trigerred program does nothing. but when its 0 event which inturn invokes another prog to put 3 message from "B" to "A".
Now I trigger the performence queue for every message. ie
1) when low event (copy msg from B to A under synpoint)
2) for high event (donot do any thing).
Can you please help me on this issue
 |
|
Back to top |
|
 |
EddieA |
Posted: Mon Jul 12, 2004 9:03 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I doubt you would be able to come up with a design that really works using events.
The Queue Events do not happen quite as you would expect. The Queue High event does not fire every time the queue gets to 3% full (in your case). If a Queue High event is fired, then MQ will turn off that event until a Queue Low event happens. At which point the Queue Low event is disabled, and the Queue High event is re-enabled.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|