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

Claus Ibsen commented on CAMEL-19382:
-------------------------------------

Okay after more investigations then the startup ordering requires to be using 
Ordered and Phased in Spring framework, to let Camel startup in the correct 
order with route collecting and whatnot.

We cannot use SmartLifecycle, and we manually start Camel in the onEvent from 
Spring.

> camel-spring - SpringCamelContext should be SmartLifecycle
> ----------------------------------------------------------
>
>                 Key: CAMEL-19382
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19382
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring, camel-spring-boot
>            Reporter: Claus Ibsen
>            Priority: Major
>
> This makes starting and stopping Camel better integrated with Spring 
> Framework / Spring Boot.
> This requires CAMEL-19380 to avoid an API clash with spring



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to