Posted: Tue Mar 27, 2007 8:06 am Post subject: Java plugin node failure/catch terminals handling
Newbie
Joined: 27 Mar 2007 Posts: 1 Location: Sweden
I have written a Java plugin input node and I want the Broker to handle propagating the message to the failure and catch terminals automatically if possible.
The behavior of failure/catch should be that exceptions that occur after propagating to the out terminal should be sent to the catch terminal and exceptions that occur inside the Java node should be propagated to the failure terminal.
But whenever any exceptions are thrown either by my own node or after propagating to the output terminal the message is automatically pushed to the catch terminal by the broker.
Is there any way I can configure the node to have a correct failure/catch behavior automatically using the broker or do I have to manually create an exception tree and push it to the failure terminal for internal errors? If I have to do it manually, any suggestions on how I best can convert the stack trace to an exception tree?
I am also not sure how the broker has identified my catch-terminal as being a catch-terminal at all? I'm guessing it is by the name?
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