Hi all,

I am having a bit of problem trying to using a bean that implements
CamelContextAware in a route. The setCamelContext method on the bean is
never called. I have attached a test program. camelContextAwareTest.zip
<http://camel.465427.n5.nabble.com/file/n5767281/camelContextAwareTest.zip>  

I am using the following versions.
camel core 2.8.2
camel spring 2.8.2
camel spring java config 2.8.2
spring 3.2.0

It seems like I have to override the method camelBeanPostProcessor() from
CamelConfiguration in order for it to work. Is this kosher/the right thing
to do?

Thanks for your time
Mike



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-CamelContextAware-bean-in-RouteBuilder-question-tp5767281.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to