Raymond created CAMEL-17953:
-------------------------------
Summary: 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.16.0, 3.14.2
Environment: * JDK11 (temurin)
* Windows 10
* Camel 3.14.2 & 3.16.0
Reporter: Raymond
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.1#820001)