Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
In order to better separate all xml loading / parsing from the runtime, and in preparation of CAMEL-14053, it would be interesting to remove the two methods that accept an input stream and use JAXB underneath to load routes / rests definitions.
From a user point-of-view, the work around is quite simple and it's just a matter of calling
RoutesDefinition routes = ModelHelper.loadRoutesDefinition(context, inputStream);
context.getExtension(Model.class).addRoutesDefinitions(routes.getRoutes());
Attachments
Issue Links
- is related to
-
CAMEL-14053 Routes Loader SPI
- Resolved
- links to