Hi, this was recently fixed with CAMEL-12087[1] zoran
[1] https://issues.apache.org/jira/browse/CAMEL-12087 On Wed, Oct 10, 2018 at 9:50 AM, Wang Yan <wyan...@gmail.com> wrote: > Hello All, > > I am running Apache Camel as SpringBoot application > > Everything is ok. but when i start it, I saw a warning No CamelContext > defined yet > > but actually in my Route i could get it , and it is also initialized, i > used log to check and trace it > > Then Version > <camel.version>2.22.0</camel.version> > <springboot.version>2.0.4.RELEASE</springboot.version> > JDK i used is 1.8, it is the only different with example of > camel springboot > > * o.a.c.i.DefaultCamelBeanPostProcessor : No CamelContext defined yet so > cannot inject into bean: > org.apache.camel.converter.jaxb.FallbackTypeConverter* > > *Then I add **CamelContext camelContext as below shown, but it does not > help, still have same warning message* > > *Any idea or suggestion? * > > *@SpringBootApplication* > *public class SpringbootCameApplication {* > > > * @Autowired* > * CamelContext camelContext;* -- Zoran Regvart