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.

Reply via email to