You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/02/22 07:15:00 UTC
[jira] [Assigned] (CAMEL-21775) Split or Multicast in onException route cannot be started using Supervised route controller
[ https://issues.apache.org/jira/browse/CAMEL-21775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-21775:
-----------------------------------
Assignee: Claus Ibsen
> Split or Multicast in onException route cannot be started using Supervised route controller
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-21775
> URL: https://issues.apache.org/jira/browse/CAMEL-21775
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 4.8.3, 4.10.0
> Reporter: Jonathan Simard
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.8.4, 4.10.1, 4.11.0
>
> Attachments: CamelDefaultRouteOnExceptions.zip
>
>
> Using the supervised route controller,
> when a split is defined in a onException of a route, the route cannot be started.
>
> I suspect 2 issues:
> * One in the route initialization process:
> [https://github.com/apache/camel/blob/fa02c9e4879fac119a7f2b4f1b4ff46f646c48eb/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoute.java#L700]
>
> * One in the split expression evaluation. Because the try-with-resource closes the BeanProcessor Service and that processor will need to be reinitialized and will fail during initialization at MulticastProcessor.wrapInErrorHandler because the route does not contain exceptionHandlerFactory anymore.
> [https://github.com/apache/camel/blob/2192884d371377423dbada7f2870057cabdef8b4/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanExpression.java#L352]
>
> See included reproducer.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)