Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Abandoned
-
2.10.4
-
Any
-
Moderate
Description
We have a spring DSL based Camel system. I wanted to introduce an interceptor for one of the routes, but I wanted to define it on a separate xml file. So when the xml is added to the Spring Context Loader than the interceptor is active otherwise it isn't.
Unfortunately camel support contextScan and packageScan for camel routes defined with JAVA.
My work around currently is having a bean, which have a route definition and start up time camel context is injected. So it registers itself to the route.
But a more fluent solution would be welcome.
More details: http://camel.465427.n5.nabble.com/Refering-implicitly-to-routeContext-td5730047.html#a5730204