Class CamelMainRuntime

  • All Implemented Interfaces:
    org.apache.camel.quarkus.core.CamelRuntime, org.apache.camel.spi.HasCamelContext

    public class CamelMainRuntime
    extends Object
    implements org.apache.camel.quarkus.core.CamelRuntime
    An implementation of the CamelRuntime based on camel-main.
    • Constructor Detail

      • CamelMainRuntime

        public CamelMainRuntime​(CamelMain main,
                                long shutdownTimeoutMs)
    • Method Detail

      • start

        public void start​(String[] args)
        Specified by:
        start in interface org.apache.camel.quarkus.core.CamelRuntime
      • stop

        public void stop()
        Specified by:
        stop in interface org.apache.camel.quarkus.core.CamelRuntime
      • waitForExit

        public int waitForExit()
        Specified by:
        waitForExit in interface org.apache.camel.quarkus.core.CamelRuntime
      • getCamelContext

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