Class Application.Runtime

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.k.Runtime, org.apache.camel.spi.HasCamelContext
    Enclosing class:
    Application

    public static class Application.Runtime
    extends Object
    implements org.apache.camel.k.Runtime
    The camel-k runtime impl based on camel-quarkus
    • Constructor Detail

      • Runtime

        public Runtime​(org.apache.camel.main.BaseMainSupport main)
    • Method Detail

      • getCamelContext

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

        public void addRoutes​(org.apache.camel.RoutesBuilder builder)
        Specified by:
        addRoutes in interface org.apache.camel.k.Runtime
      • setInitialProperties

        public void setInitialProperties​(Properties properties)
        Specified by:
        setInitialProperties in interface org.apache.camel.k.Runtime
      • setProperties

        public void setProperties​(Properties properties)
        Specified by:
        setProperties in interface org.apache.camel.k.Runtime
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface org.apache.camel.k.Runtime
        Throws:
        Exception