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 Details

    • CamelMainRunController

      public CamelMainRunController(org.springframework.context.ApplicationContext applicationContext, org.apache.camel.CamelContext camelContext)
  • Method Details

    • start

      public void start()
    • getMainShutdownStrategy

      public org.apache.camel.main.MainShutdownStrategy getMainShutdownStrategy()
    • getMainCompleteTask

      public Runnable getMainCompleteTask()