[ 
https://issues.apache.org/jira/browse/CAMEL-12975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865807#comment-16865807
 ] 

Freeman Fang commented on CAMEL-12975:
--------------------------------------

I think we also need to add org.apache.camel.DeferredContextBinding annotation 
to org.apache.camel.converter.jaxb.FallbackTypeConverter to get rid of the WARN 
message



> WARN: No CamelContext defined yet so cannot inject into bean: 
> org.apache.camel.converter.jaxb.FallbackTypeConverter
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12975
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12975
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jaxb, camel-spring-boot-starters
>    Affects Versions: 2.23.0, 2.24.0
>            Reporter: Pascal Schumacher
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> I'm using camel-jaxb-starter 2.23.0 in combination with Spring Boot 2.1.1.
> During start-up this warning is displayed:
> {{WARN 15204 --- [           main] o.a.c.i.DefaultCamelBeanPostProcessor    : 
> No CamelContext defined yet so cannot inject into bean: 
> org.apache.camel.converter.jaxb.FallbackTypeConverter}}
> Otherwise everything is working fine (as far as I can tell).
> I created a minimal project that allows reproducing this warning: 
> https://github.com/PascalSchumacher/CamelJaxbStartupWarning



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to