Hi See this page http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html
On Fri, Oct 22, 2010 at 6:15 AM, ext2 <[email protected]> wrote: > Hi: > Camel's Context support a low level > API(CamelContext.addInterceptStrategy), which we could use it to add our > custom interceptor-strategy in Java DSL program; > But while using Spring DSL, it seems there is no such a > configuration we can use to configure the custom interceptor-strategy; > How about to add such a support? > > It may looks like as following: > <beans> > <bean id="interceptorStrategyList" > class="org.apache.camel.InterceptorStrategyList "> > <camel:context> > ... > </camel:context> > </beans> > The bean "interceptorStrategyList" support a method to return a list > of custom interceptor strategy; And camel-spring could find the bean and > register the interceptors into camelContext; > > Thanks any suggestion > > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
