Package org.apache.camel.spring.xml
Interface XmlCamelContextConfigurer
-
public interface XmlCamelContextConfigurer
Allows doing 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, org.apache.camel.spring.SpringCamelContext camelContext)
Configures XML based CamelContext with the given 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 contextcamelContext
- the XML based CamelContext- Throws:
Exception
- is thrown if error during configuration
-
-