Class CamelMainRunController


  • public class CamelMainRunController
    extends Object
    Controller to keep the main running and perform graceful shutdown when the JVM is stopped.
    • Constructor Detail

      • CamelMainRunController

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

      • start

        public void start()
      • getMainShutdownStrategy

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

        public Runnable getMainCompleteTask()