[
https://issues.apache.org/jira/browse/CAMEL-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-6232:
-------------------------------
Fix Version/s: (was: 3.0.0)
> Create a spring DSL, where we can introduce interceptors without explicit
> listing
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-6232
> URL: https://issues.apache.org/jira/browse/CAMEL-6232
> Project: Camel
> Issue Type: New Feature
> Components: camel-spring
> Affects Versions: 2.10.4
> Environment: Any
> Reporter: David Cifer
> Priority: Major
> Labels: spring
> Fix For: Future
>
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)