That is for using spring xml, with <camelContext>. On Tue, Mar 31, 2015 at 12:59 PM, Ted <na...@pritchard.uk.net> wrote: > Thanks, I've created a PackageScanClassResolver for my project that works > with WAR files. > > In the documentation http://camel.apache.org/pluggable-class-resolvers.html > it says I simply need to create a spring bean but when I tried the bean was > never referenced. I had a quick look in DefaultCamelContext and > SpringCamelContext but all I could see was a hard coded reference to the > DefaultPackageScanClassResolver. My Spring config looks like this: > > @Bean > BeltPackageScanClassResolver beltResolver() { > BeltPackageScanClassResolver resolver = new > BeltPackageScanClassResolver(); > > return resolver; > } > > Am I missing something? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765077.html > Sent from the Camel - Users mailing list archive at Nabble.com.
-- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/