[ 
https://issues.apache.org/jira/browse/CAMEL-20731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-20731:
--------------------------------
    Priority: Minor  (was: Major)

> Route coverage fails on routes with multiple doCatch blocks
> -----------------------------------------------------------
>
>                 Key: CAMEL-20731
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20731
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 4.0.3
>            Reporter: Adriano Machado
>            Priority: Minor
>
> Routes containing `doTry` with multiple `doCatch` blocks fails when running 
> the code coverate mojo.  An example:
> ```
> <route>
>   <from uri="direct:start"/>
>   <doTry>
>     <process ref="processorFail"/>
>     <to uri="mock:result"/>
>     <doCatch>
>       <exception>java.io.IOException</exception>
>       <to uri="mock:catch"/>
>     </doCatch>
>     <doCatch>
>       <exception>java.lang.IllegalStateException</exception>
>       <to uri="mock:catch"/>
>     </doCatch>
>     <doFinally>
>        <to uri="mock:finally"/>
>     </doFinally>
>   </doTry>
> </route>```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to