Author |
Message
|
mq_starter |
Posted: Mon Mar 03, 2008 9:15 am Post subject: need help in understanding events in MQ |
|
|
Novice
Joined: 27 Feb 2008 Posts: 10
|
hello All,
i wanted to run some triggering based on some events.
1. i created a local queue(testQ) with max_queue_depth of 2 .
2. then i created another queue( event queue) as SYSTEM.ADMIN.PERFM.EVENT attributes.
3. and on this event queue i created a trigger so that i can kick of a process.
4. no i tried to put 3 messages on my local (testQ).
but the issue is that queue manager did not create a performance event message on the event Q and so it did not triggerd the process i was expecting.
can some one help me here please as why it did not put the event message on the queue.
or please tell me how to create events message to be placed ina queue or correct me if i am missing something compleatly here.
thanks in advance |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 03, 2008 9:24 am Post subject: Re: need help in understanding events in MQ |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mq_starter wrote: |
2. then i created another queue( event queue) as SYSTEM.ADMIN.PERFM.EVENT attributes. |
I hope not - that should have been created when the queue manager was created!
mq_starter wrote: |
can some one help me here please as why it did not put the event message on the queue. |
You don't mention enabling the events.
mq_starter wrote: |
please tell me how to create events message to be placed ina queue or correct me if i am missing something compleatly here.
|
All the information is in the Monitoring MQ manual for your convienience.
Please use the search facility to find many discussions on the value of monitoring WMQ with your own code rather than buying some.
IHMO the TCO of the commerical software is far less than rolling your own. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
EddieA |
Posted: Mon Mar 03, 2008 9:40 am Post subject: Re: need help in understanding events in MQ |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
mq_starter wrote: |
but the issue is that queue manager did not create a performance event message on the event Q and so it did not triggerd the process i was expecting. |
What kind of performance event were you expecting by putting 3 messages on a Queue.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
mq_starter |
Posted: Mon Mar 03, 2008 10:50 am Post subject: |
|
|
Novice
Joined: 27 Feb 2008 Posts: 10
|
i am trying to test a scenario using the web sphere MQ windows explorer.
i was expecting a performance event of queue depth reached.
Jedi Council
you mentioned about not enabling the events. can you please tell me if i did the right way. i enable the eventing on the event queue and on the testQ.
please guide me.
thanks |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 03, 2008 11:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mq_starter wrote: |
i am trying to test a scenario using the web sphere MQ windows explorer. |
What's explorer got to do with it??
mq_starter wrote: |
i was expecting a performance event of queue depth reached.
|
Why not just use a depth trigger? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
EddieA |
Posted: Mon Mar 03, 2008 12:45 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
mq_starter wrote: |
i was expecting a performance event of queue depth reached. |
Did you change the default value for Max Queue Depth.
Did you read the section on how Queue Depth events work. HINT: They are not what you expect.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 11, 2008 8:50 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Performance events must be enabled at both the qmgr and queue. If not enabled, there will be no event messages. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|