[
https://issues.apache.org/jira/browse/CAMEL-12087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475857#comment-16475857
]
Luca Burgazzoli commented on CAMEL-12087:
-----------------------------------------
Yeah this is basically what @LazyContextBinding or @DeferredContextBinding is
meant, once the camel context is starting up, it search for bean of type
CamelContextAware and set itself as camel context if they are annotated with
one of the two annotations. The post processor then knows that it is ok not to
set the camel context if it is not yet available.
> camel-core: WARN No CamelContext defined yet so cannot inject into bean
> -----------------------------------------------------------------------
>
> Key: CAMEL-12087
> URL: https://issues.apache.org/jira/browse/CAMEL-12087
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot
> Affects Versions: 2.20.3, 2.21.1
> Reporter: Luca Burgazzoli
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.20.4, 2.21.2
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)