Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.18.2
-
None
-
Version: Camel 3.18.2
JDK: 11 (Temurin)
-
Unknown
Description
I load the routeConfiguration like this:
loader = extendedCamelContext.getRoutesLoader(); loader.loadRoutes(resource);
On a later moment, I like to remove or update the routeConfiguration, but I first want to check if it's already loaded. To do this, I try to get the route:
List<Route> routes = context.getRoutes();
//or
Route route = context.getRoute(id);
The route for the routeConfiguration is null and it's also not in the list. However when I would load it again it says "RouteConfiguration ID already exists".