Hi What version of Camel do you use? And what version of Spring Boot?
And a good idea is to look at the existing camel spring-boot examples and see if they do something other than you. https://github.com/apache/camel/tree/master/examples#examples On Mon, Oct 8, 2018 at 11:43 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 > > * 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;* -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2