Check out "Dealing with errors in message flows" in the "Using Control Center" pdf. This will help you understand the behavior of a flow under when an exception is thrown.
There is also good related info in the "Problem Determination" guide.
How exactly you handle an error is dependent on your flow.
Here is a simplified design for a general error case:
- catch off of the input queue for the flow. If I can help it, this is the only place I catch errors. Any error that occurs down flow will unwind to to this catch.
- Add a trace node off of the catch. Trace debug info.
- Then add a compute node to create a message that includes the exceptionList.
- Add this message to an error queue. (with trasaction mode off).
- Add a Throw node to rollback the trasaction.
- Configure the input queue to place the rolled back message in the DLQ, or a specific backout queue, or set the backout count > 1 if you wish to retry the message.
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