Sign in
apache
/
camel-karavan
/
a30b699c3277fa4808b7021683864a80e598fe10
/
.
/
karavan-core
/
test
/
plain-try-catch.yaml
blob: a487f709952bc058c4167ef6c0f3d634a96bcec1 [
file
] [
log
] [
blame
]
-
route:
from:
uri:
timer
:
demo
steps:
-
doTry:
steps:
-
setBody:
expression:
groovy:
expression:
1000 / 0
doCatch:
-
steps:
-
log:
message:
Exception
exception:
-
java.lang.ArithmeticException
doFinally:
steps:
-
log:
message:
${body}