camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vasilievip <vasilie...@gmail.com>
Subject Camel java dsl: try/catch+stop = finally is not evaluated
Date Fri, 13 Feb 2015 09:42:09 GMT
I'm thinking to stop execution in case of exception, but I do want to perform
some logging in finally block. The .stop() definition looks like does what I
need but it stops "finally" definition as well.
https://github.com/vasilievip/camel-spring-boot/blob/master/src/main/java/cameltest/CamelConfiguration.java#L35

Is this expected behavior? Am I missing something?
Thanks




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-java-dsl-try-catch-stop-finally-is-not-evaluated-tp5762683.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message