Camel: importing routeContext into an external camelContext
问题 I have a camel context in project A: <camelContext id="camelContext"> <route id="camelRoute1"> <from uri="vm:foo" /> <log message="camelRoute1 completed" /> </route> </camelContext> Project B and project C use project A as a Maven dependency. Each one of the projects B and C defines their own <routeContext> (in separate xml files): Project B: <routeContext id="bRoutes" xmlns="http://camel.apache.org/schema/spring"> <route id="barB"> <from uri="direct:barB"/> <to uri="mock:barB"/> </route> <