Package org.apache.camel.spring.spi
Interface XmlCamelContextConfigurer
-
public interface XmlCamelContextConfigurer
Allows to do custom configuration when a new XML basedSpringCamelContext
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(ApplicationContext applicationContext, SpringCamelContext camelContext)
Configures XML based CamelContext with the given configuration
-
-
-
Method Detail
-
configure
void configure(ApplicationContext applicationContext, SpringCamelContext camelContext) throws Exception
Configures XML based CamelContext with the given configuration- Parameters:
applicationContext
- the Spring contextcamelContext
- the XML based CamelContext- Throws:
Exception
- is thrown if error during configuration
-
-