Class ProfileConfigurer

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

public class ProfileConfigurer extends Object
Configure Camel Main with the chosen profile. This is for Camel JBang and Standalone Camel, not Spring Boot or Quarkus; as they have their own profile concept.
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Constructor Details

    • ProfileConfigurer

      public ProfileConfigurer()
  • Method Details

    • configureMain

      public static void configureMain(org.apache.camel.CamelContext camelContext, String profile, MainConfigurationProperties config)
      Configures camel-main to run in given profile
      Parameters:
      camelContext - the camel context
      profile - the profile
      config - the main configuration
    • configureCommon

      public static void configureCommon(org.apache.camel.CamelContext camelContext, String profile, DefaultConfigurationProperties<?> config)
      Configures camel in general (standalone, quarkus, spring-boot etc) to run in given profile
      Parameters:
      camelContext - the camel context
      profile - the profile
      config - the core configuration