camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hubertus.Willuhn" <>
Subject Spring Boot and Camel 2.17 - HangupSupport Removed!
Date Tue, 19 Apr 2016 13:25:01 GMT

since the latest update of Camel to Version 2.17 (which I am trying to
migrate my Application to)
the hangup support for the SpringBootApplicationController was removed from

This ticket refer to that:

So this is nice and all, but to me that does not look like an improvement
because the line:


was removed from the
org/apache/camel/spring/boot/ in
the function blockMainThread()!

Now how i am supposed to block my app and keep it running?
Any advices?

Until now i do the following in my "public static void main(String[] args)":

SpringApplication app = new SpringApplication(CamelApp.class);

app.setWebEnvironment(false);"Finish application by pressing Ctrl + C");

ApplicationContext ctx =;

CamelSpringBootApplicationController appController =

Thanks in advanced!

Best regards, 


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message