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 2022/09/03 12:24:00 UTC
[jira] [Resolved] (CAMEL-17953) Loading an XML RouteConfiguration with RoutesLoader doesn't work
[ https://issues.apache.org/jira/browse/CAMEL-17953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17953.
---------------------------------
Resolution: Information Provided
> Loading an XML RouteConfiguration with RoutesLoader doesn't work
> ----------------------------------------------------------------
>
> Key: CAMEL-17953
> URL: https://issues.apache.org/jira/browse/CAMEL-17953
> Project: Camel
> Issue Type: Task
> Components: camel-core
> Affects Versions: 3.14.2, 3.16.0
> Environment: * JDK11 (temurin)
> * Windows 10
> * Camel 3.14.2 & 3.16.0
> Reporter: Raymond
> Priority: Minor
> Attachments: MyRouteLoader.java
>
>
> I have an XML route that I load with the RouteLoader. This works as expected. However, when I also load an XML RouteConfiguration then this doesn't have effect. The route is running properly, but errors are not handled as configured in the RouteConfiguration. I tested this on Camel 3.14.2 and 3.16.0.
>
> Note 1: When creating a RouteConfiguration in Java and loading the class context.addRoutes(new MyRouteConfiguration()); then it works as expected.
> Note 2: I attached an example Java class with the way I loaded the routeConfiguration, to reproduce this behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)