Package org.apache.camel.spring.boot
Class CamelMainRunController
- java.lang.Object
-
- org.apache.camel.spring.boot.CamelMainRunController
-
public class CamelMainRunController extends Object
Controller to keep the main running and perform graceful shutdown when the JVM is stopped.
-
-
Constructor Summary
Constructors Constructor Description CamelMainRunController(org.springframework.context.ApplicationContext applicationContext, org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Runnable
getMainCompleteTask()
org.apache.camel.main.MainShutdownStrategy
getMainShutdownStrategy()
void
start()
-
-
-
Method Detail
-
start
public void start()
-
getMainShutdownStrategy
public org.apache.camel.main.MainShutdownStrategy getMainShutdownStrategy()
-
getMainCompleteTask
public Runnable getMainCompleteTask()
-
-