Package org.apache.camel.spring.boot
Class CamelSpringBootApplicationController
java.lang.Object
org.apache.camel.spring.boot.CamelSpringBootApplicationController
-
Constructor Summary
ConstructorsConstructorDescriptionCamelSpringBootApplicationController
(org.springframework.context.ApplicationContext applicationContext, org.apache.camel.CamelContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.org.apache.camel.main.MainShutdownStrategy
void
run()
Runs the application and blocks the main thread and shutdown Camel graceful when the JVM is stopping.
-
Constructor Details
-
CamelSpringBootApplicationController
public CamelSpringBootApplicationController(org.springframework.context.ApplicationContext applicationContext, org.apache.camel.CamelContext context)
-
-
Method Details
-
getMainShutdownStrategy
public org.apache.camel.main.MainShutdownStrategy getMainShutdownStrategy() -
getMainCompletedTask
-
run
public void run()Runs the application and blocks the main thread and shutdown Camel graceful when the JVM is stopping. -
blockMainThread
Deprecated.userun()
-
run()