git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

: No CamelContext defined yet so cannot inject into bean: or


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;*