Class CamelBundle<T extends CamelConfiguration>

  • Type Parameters:
    T - Type of configuration.
    All Implemented Interfaces:
    io.dropwizard.ConfiguredBundle<T>

    public abstract class CamelBundle<T extends CamelConfiguration>
    extends Object
    implements io.dropwizard.ConfiguredBundle<T>
    Defines camel bundle - an attachable configuration and runtime unit from Dropwizard point of view.
    Author:
    Ɓukasz Dywicki
    • Constructor Detail

      • CamelBundle

        public CamelBundle()
      • CamelBundle

        public CamelBundle​(String name)
    • Method Detail

      • run

        public void run​(T configuration,
                        io.dropwizard.setup.Environment environment)
                 throws Exception
        Specified by:
        run in interface io.dropwizard.ConfiguredBundle<T extends CamelConfiguration>
        Throws:
        Exception
      • initialize

        public void initialize​(io.dropwizard.setup.Bootstrap<?> bootstrap)
        Specified by:
        initialize in interface io.dropwizard.ConfiguredBundle<T extends CamelConfiguration>
      • getContext

        public org.apache.camel.CamelContext getContext()