Package org.apache.camel.spring.xml
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 Summary
Modifier and TypeMethodDescriptionvoid
configure
(ApplicationContext applicationContext, org.apache.camel.spring.SpringCamelContext camelContext) Configures XML based CamelContext with the given configuration.
-
Method Details
-
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
-