You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Nowakowski, Mateusz" <Ma...@sabre.com> on 2014/03/13 13:23:09 UTC

SpringCamelContext / dependsOn/ afterPropertiesSet issue

Hi

Was it addressed somehow?
http://camel.465427.n5.nabble.com/SpringCamelContext-afterPropertiesSet-never-called-td5137267.html

I have the same issue with the latest camel.

I had to apply same workaround as mentioned in the thread.


-- 
Regards,
Mateusz Nowakowski

Re: SpringCamelContext / dependsOn/ afterPropertiesSet issue

Posted by Łukasz Dywicki <lu...@code-house.org>.
Hey Mateusz,
Try to use CamelContextAware interface in place of regular property injection. If I remember correctly Camel extension for spring adds bean post processor which calls all beans implementing this interface.

Cheers,
Łukasz Dywicki
--
luke@code-house.org
Twitter: ldywicki
Blog: http://dywicki.pl
Code-House - http://code-house.org

Wiadomość napisana przez Nowakowski, Mateusz <Ma...@sabre.com> w dniu 13 mar 2014, o godz. 13:23:

> Hi
> 
> Was it addressed somehow?
> http://camel.465427.n5.nabble.com/SpringCamelContext-afterPropertiesSet-never-called-td5137267.html
> 
> I have the same issue with the latest camel.
> 
> I had to apply same workaround as mentioned in the thread.
> 
> 
> -- 
> Regards,
> Mateusz Nowakowski