Adriano Machado created CAMEL-20731:
---------------------------------------

             Summary: 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


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