Re: Timing problem of Spring Injection vs. Component Scan?

2018-10-12 Thread Zoran Regvart
Hi Ron, Spring dependency injection works by (first) scanning all potential sources of beans to inject and then (second) instantiating singletons and injecting them as needed. Thus it's very unlikely that it fails to resolve a dependency to inject if that dependency is known to Spring, this can onl

Fwd: o.a.c.i.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean:

2018-10-12 Thread Wang Yan
Could you please suggest which release could fix this problem? i dont want to use snapshot version. thanks and rgds nono -- Forwarded message - From: Zoran Regvart-2 [via Camel] Date: Thu, Oct 11, 2018 at 4:12 PM Subject: Re: o.a.c.i.DefaultCamelBeanPostProcessor : No CamelContex

Fwd: o.a.c.i.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean:

2018-10-12 Thread Wang Yan
the wired thing is that i tried with 2.23.0 snapshot version and 2.22.2 snapshot version,same error still but i tried some combition with 23.0 release and 2.22.2 release , then it works 2.23.0 2.22.0 org.apache.camel camel-spring-boot-starter ${camel.bug.version} or