[
https://issues.apache.org/jira/browse/CAMEL-8436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henryk Konsek resolved CAMEL-8436.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.15.1)
2.15.0
Nailed it :) Revision - 1c1953ac4dc2319403101b5f04a31e53cdf615f1 . Great thanks
for the example!
The problem was that creation of {{ProducerTemplate}} forced {{CamelContext}}
to start too early. I changed {{RoutesCollector}} to collect routes when
{{ApplicationContext}} is refreshed and then start {{CamelContext}}.
> camel-spring-boot - Some routes not being initialized after CamelContext have
> been removed from CamelAutoConfiguration
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-8436
> URL: https://issues.apache.org/jira/browse/CAMEL-8436
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot
> Affects Versions: 2.15.0
> Reporter: Dmitry Drozdov
> Assignee: Henryk Konsek
> Fix For: 2.15.0
>
> Attachments: camel-spring-boot-issue.tar.gz
>
>
> In our project we have several classes that extend SpringRouteBuilder and
> that are annotated with @Component.
> Some days ago we've noticed that most of them stopped being initialized on
> application startup.
> Found out that our issues started from this commit:
> https://github.com/apache/camel/commit/6bcc0b6110a762623888ded294c78dc168a18e75
> If I roll it back everything is fine again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)