Interface XmlCamelContextConfigurer


  • public interface XmlCamelContextConfigurer
    Allows doing custom configuration when a new XML based SpringCamelContext has been created. For example, we use this to enable camel-spring-boot to configure Camel created from XML files with the existing Spring Boot auto-configuration.
    • Method Detail

      • configure

        void configure​(ApplicationContext applicationContext,
                       org.apache.camel.spring.SpringCamelContext camelContext)
                throws Exception
        Configures XML based CamelContext with the given configuration.
        Parameters:
        applicationContext - the Spring context
        camelContext - the XML based CamelContext
        Throws:
        Exception - is thrown if error during configuration