camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Using CamelContextAware bean in RouteBuilder question
Date Wed, 20 May 2015 06:47:28 GMT
Hi

This is very old versions. Try with newer releases.

On Wed, May 20, 2015 at 1:44 AM, Mike Chao <mike.chao.one@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@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/

Mime
View raw message