You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/30 07:26:00 UTC
[jira] [Resolved] (CAMEL-12872) When no route is defined, mention
in log that it is the reason why it shutdowns the Camel Context
automatically
[ https://issues.apache.org/jira/browse/CAMEL-12872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12872.
---------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Fix Version/s: 3.0.0.M5
3.0.0
This was already done with the WARN you get
2019-07-30 09:23:33.148 WARN 90566 --- [ Thread-6] o.a.c.s.boot.SpringBootCamelContext : CamelContext has only been running for less than a second. If you intend to run Camel for a longer time then you can set the property camel.springboot.main-run-controller=true in application.properties or add spring-boot-starter-web JAR to the classpath.
> When no route is defined, mention in log that it is the reason why it shutdowns the Camel Context automatically
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-12872
> URL: https://issues.apache.org/jira/browse/CAMEL-12872
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.22.1
> Reporter: Aurélien Pupier
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.0.0, 3.0.0.M5
>
>
> When starting a project and that no Camel route are found, the camel context is shutdown immediately.
> it would be nice to have a trace in log mentioning the reason.
> maybe also refer to some documentation on how to configure routes?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)