...
File based spring configuration files
In From Camel 1.4 onwards loading file based spring Spring context files via a flie location is also supported. You configure this with the new fileApplicationContextUri option fileApplicationContextUri. Paths may be split using a semi-colon (;). This sort of file location is usable useful for web application projects that is web applications and you store spring configuration files in WEB-INF. It can also be used to replace configuration that requires an OSGi container with an equivalent non-OSGi configuration.
Code Block | ||
---|---|---|
| ||
<plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> <configuration> <fileApplicationContextUri>src<fileApplicationContextUri> src/main/webapp/WEB-INF/camel*.xml<.xml; src/test/spring/test-context.xml </fileApplicationContextUri> </configuration> </plugin> |
...