Class CamelSpringBootApplicationController

java.lang.Object
org.apache.camel.spring.boot.CamelSpringBootApplicationController
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.spi.HasCamelContext

public class CamelSpringBootApplicationController extends Object implements org.apache.camel.CamelContextAware
  • Constructor Details

    • CamelSpringBootApplicationController

      public CamelSpringBootApplicationController(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • getMain

      public org.apache.camel.main.Main getMain()
    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.apache.camel.spi.HasCamelContext
    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.apache.camel.CamelContextAware
    • getMainShutdownStrategy

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

      public Runnable getMainCompletedTask()
    • run

      public void run()
      Runs the application and blocks the main thread and shutdown Camel graceful when the JVM is stopping.
    • blockMainThread

      @Deprecated public void blockMainThread()
      Deprecated.
      use run()