-
Bug
-
Resolution: Done
-
Critical
-
7.3.2
When I written a route with exception control with try /catch /finally blocks, and go back to camel editor, these blocks are not drawn. And when I go back to xml editor, the blocks has disappeared.
Example:
<route> <from uri="direct:start"/> <doTry> <process ref="processorFail"/> <to uri="mock:result"/> <doCatch> <exception>java.io.IOException</exception> <exception>java.lang.IllegalStateException</exception> <onWhen> <simple>${exception.message} contains 'Damn'</simple> </onWhen> <to uri="mock:catch"/> </doCatch> <doCatch> <exception>org.apache.camel.CamelExchangeException</exception> <to uri="mock:catchCamel"/> </doCatch> <doFinally> <to uri="mock:finally"/> </doFinally> </doTry> </route>