Auto configuration simplifies configuration of IM instances. You no longer need to add beans and components configuration to camel-config.xml; you only need one dependency and some properties. Then the components such as PfxClient, Events, Error Handling, Backup, Web Services etc. start automatically.
Define the following in the property file:
#Spring spring.main.sources=net.pricefx.integration.app.Application application.context=classpath*:camel-context.xml
Auto Configuration Setup
Add this dependency to pom.xml of your application:
Example
<dependency> <groupId>net.pricefx.integration</groupId> <artifactId>integration-manager-starter</artifactId> <version>1.0.5</version> </dependency>
Now you can configure a particular component by setting its properties in the application.properties file.
The following modules are available for auto configuration: