Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.14.0
-
None
Description
issue when wireTap is inside a doCatch, and has .end(). Attached test run ends up in
java.lang.ClassCastException: class org.apache.camel.model.CatchDefinition cannot be cast to class org.apache.camel.model.TryDefinition
Removing .end() fixes issue but then it's confusing why exactly same wireTap inside doTry MUST have .end() and inside doCatch MUST NOT!