Author |
Message
|
Gaya3 |
Posted: Wed Nov 29, 2006 2:48 am Post subject: Trigger problem- not invoking process some times |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi All,
WMQ Version : 6.0
O/S-HP-UX
The problem is sometimes my trigerr is not invoking the script and processing the messages in the queue.
Where Trig Type:= FIRST
After that i have to manually run the script to processes the messages lie in the queue.
I dont know why it is showing this type of behaviour, Only some time this problem happens
Daily transactions of messages are more than 50,000.
Please let me know what is the issue and how can i resolve it.
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 29, 2006 2:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
On the occassions where triggering fails, has there been a previous problem which has caused the prerequisites to fail? For instance, leaving a number of messages on the queue? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Nov 29, 2006 6:13 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
Please let me know what is the issue and how can i resolve it. |
What error messages, if any, are being thrown?
Are all the conditions for triggering being met? |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Nov 29, 2006 6:23 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
There are no error messages,
Infact the messages are piling up in the queue,
It happens only sometimes.
is it a problem of time taken to call the process and releasing it.
mean while the other message will be there in the queue.
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Nov 29, 2006 6:27 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
If there are any messages in the queue at all then trigger type of FIRST will not work.
What do you mean by:
Quote: |
is it a problem of time taken to call the process and releasing it. |
Have you looked in the event messages for any error messages? |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Nov 29, 2006 6:33 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
More than 50 K messages will be going through this queue.
When ever the messages comes the trigger will be fired and it invokes a script.
Here what i meant is:
The script got invoked and it starts processing the messages. At this point of time if another message comes to the queue what will happen.
Have you looked in the event messages for any error messages?
I will let you know about this.
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 29, 2006 6:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Gaya3 wrote: |
When ever the messages comes the trigger will be fired and it invokes a script.
|
That's not trigger FIRST, that's trigger EVERY. And for high message volumes something that needs thought before you implement it...
Gaya3 wrote: |
Here what i meant is:
The script got invoked and it starts processing the messages. At this point of time if another message comes to the queue what will happen.
|
If the script is written to process the queue until it's empty, the message will be read in it's turn. If not, nothing will happen because the conditions for trigger FIRST are not met. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Nov 29, 2006 6:50 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
What you said is correct,
Here i used Trig Type: First
here script is written to process the queue until it's empty.
Let me recheck it and let you know the status
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|