Class DefaultConfigurationConfigurer

java.lang.Object
org.apache.camel.main.DefaultConfigurationConfigurer

public final class DefaultConfigurationConfigurer extends Object
To configure the DefaultConfigurationProperties on CamelContext used by Camel Main, Camel Spring Boot and other runtimes.
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Method Details

    • configure

      public static void configure(org.apache.camel.CamelContext camelContext, DefaultConfigurationProperties<?> config) throws Exception
      Configures the CamelContext with the configuration.
      Parameters:
      camelContext - the camel context
      config - the configuration
      Throws:
      Exception
    • afterConfigure

      public static void afterConfigure(org.apache.camel.CamelContext camelContext) throws Exception
      Performs additional configuration to lookup beans of Camel types to configure additional configurations on the Camel context.

      Similar code in camel-core-xml module in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean.

      Throws:
      Exception
    • configureBacklogDebugger

      public static void configureBacklogDebugger(org.apache.camel.CamelContext camelContext, DebuggerConfigurationProperties config) throws Exception
      Configures the BacklogDebugger with the configuration.
      Parameters:
      camelContext - the camel context
      config - the configuration
      Throws:
      Exception
    • afterPropertiesSet

      public static void afterPropertiesSet(org.apache.camel.CamelContext camelContext) throws Exception
      Throws:
      Exception