Hi, I am having trouble with camel-spring (1.6.0) and a InstantiationAwareBeanPostProcessorAdapter I have written. It processes a custom annotation to set fields on Spring beans directly from .properties files. The processor works correctly until I try to @Autowired into a Java Camel RouteBuilder. The processor is not invoked at all for any bean that the route builder uses. This is also true for any bean that is injected into a bean that the route builder uses. From my logging in my processor I can see that it is not invoked at all for these beans. Has anyone any idea why this ay be? Does Camel do any magic with beans it finds referenced by a route builder, such as moving them into another context that won't be covered by my processor?
Also this page [1] refers to <routeBuilder ref="myBuilder" /> which I think should be <routeBuilderRef ref="myBuilder" />, but it is in a source file that the wiki includes so I can't correct it. Thanks, Martin.