Pasquale Congiusti created CAMEL-21688:
------------------------------------------
Summary: [camel-jbang] Export to Spring Boot may not work in
certain cases
Key: CAMEL-21688
URL: https://issues.apache.org/jira/browse/CAMEL-21688
Project: Camel
Issue Type: Improvement
Affects Versions: 4.9.0
Reporter: Pasquale Congiusti
Fix For: 4.x
When you create a simple Camel application (eg, a timer to log), then, the
export is not able to run properly:
{code}
2025-01-30T16:41:33.084+01:00 WARN 830221 --- [ionShutdownHook]
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.
{code}
Apparently the regression is caused by the fact that, previously, we always
embedded some dependency that enabled a web server. This is not happening now,
so, we need to find a way to keep the application running regardless the
presence of a web dependency or not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)