|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
A DEAD LOOP CAUSED BY TRIGGER TYPE FIRST |
« View previous topic :: View next topic » |
Author |
Message
|
Hporayster |
Posted: Sat Sep 08, 2007 10:57 pm Post subject: A DEAD LOOP CAUSED BY TRIGGER TYPE FIRST |
|
|
 Novice
Joined: 27 Aug 2007 Posts: 17 Location: China
|
A MESSAGE HANDLLER PROGRAM(STARTED BY A TRIGGER PROGRAM) LINKED-TO A BUSSINESS PROGRAM,AND IF THE BUSSINESS UOW FAILED ,ROLLBACK IT ...
THEN ,WHEN THERE IS ONLY ONE MESSAGE IN THE QUEUE, CALL MQGET, THE DEPTH CHANGS TO 0, IF ROLLEDBACK, THE DEPTH CHANGE FROM 0 TO 1, THE TRIGGER APP TRIGGER A HANDLER..AND FAIL ,AND TRIGGER...
I MUST DELETE THE POISON MSG,BUT HOW? THANK YOU. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 09, 2007 8:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
When reading the message check the delivery count. If greater than threshold put message to backout queue and commit.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Sun Sep 09, 2007 11:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
My comments here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=39305&highlight=
still apply (though I accept unreservedly that this question is entirely relevant to this forum). As a general point you need to obtain better training and/or materials. This question is about as basic as CICS debugging is on mainframe.
You will not get quality knowledge via this route. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|