Ashish Gidh created CAMEL-18312:
-----------------------------------
Summary: DoTry and DoCatch block does not work in YAML DSL
Key: CAMEL-18312
URL: https://issues.apache.org/jira/browse/CAMEL-18312
Project: Camel
Issue Type: Bug
Components: came-core
Affects Versions: 3.17.0
Environment: <camel.version>3.17.0</camel.version>
<quarkus.platform.version>2.10.1.Final</quarkus.platform.version>
Reporter: Ashish Gidh
The DoTry and DoCatch block does not work and this is an important feature for
us to catch errors and process.
Is there an existing example which works ? Not sure if the syntax is missing
anything but its not working as per specs.
Any working example or logic will help analyze. This may relate to the same
issue as below.
[https://github.com/apache/camel-karavan/issues/401]
Example Snippet which does not work under Quarkus and Spring Boot is as
follows. We are using Karavan for citizen development.
- doTry:
steps:
- to:
uri: rest:post:chubbio-roadshow-bpm:startProcess
parameters:
host: localhost:8081
bindingMode: auto
producerComponentName: http
doCatch:
- steps:
- log:
message: Exception while calling the process
\n${body}
loggingLevel: ERROR
exception:
- java.lang.Exception.class
- Exception.class
Please help.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)