Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
In camel-k we have a mechanism to load routes written in different languages, in camel instead we only support XML.
We should move the generic loader to Camel from Camel K and leave the implementations where they fit better.
I'm proposing to remove the following methods from the ExtendedCamelContext and replace them with a generic discovery mechanism similar to the one used for components & co to find the appropriate loader based on the file extension.
/** * Sets a custom {@link XMLRoutesDefinitionLoader} to be used. */ void setXMLRoutesDefinitionLoader(XMLRoutesDefinitionLoader xmlRoutesDefinitionLoader); /** * Gets the {@link XMLRoutesDefinitionLoader} to be used. */ XMLRoutesDefinitionLoader getXMLRoutesDefinitionLoader();
Attachments
Issue Links
- incorporates
-
CAMEL-14053 Routes Loader SPI
- Resolved
-
CAMEL-10956 camel-core: more flexible route loader
- Resolved
- is related to
-
CAMEL-14089 camel-main - Improve routes discovering
- Resolved
- links to