Posted: Wed Dec 14, 2005 5:51 am Post subject: Stopping a flow automatically on an Error
Disciple
Joined: 21 Jul 2004 Posts: 150 Location: South Africa, JHB
Hi,
- WMQI 2.1 CSD 07 on Windows 2000.
- We are processing messages (hundred of thousands) via a simple flow. I've got standard generic error handling in place (wired to the Input Node Catch Terminal) and a trace node which removes the "poison" message from the queue (wired to the Input Node failure terminal) once the rollback occur to the input queue.
- In my current scenario we need all messages to go sequentially to the target system (in the order that it landed on the input queue). We thus need a way to stop the message flow from proccessing subsequent messages from the input queue once an exception occurs in the flow, fix the error and then continue processing.
- Does anyone know of an automated way in which I can achieve this or suggest an alternate approach?
You can create a PCF message using ESQL that will get-disable your input queue.
Then the messages won't get processed until someone manually reenableds the queue for getting. _________________ I am *not* the model of the modern major general.
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