You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Camel Maven Plugin

The Camel Maven Plugin is used to run Camel Spring configurations inside Maven for easy testing. A good example application to get you started is the Spring Example.

cd examples/camel-example-spring
mvn camel:run

How this works is that the plugin will compile the source code in the maven project, then boot up a Spring ApplicationContext using the XMl confiuration files on the classpath at

META-INF/spring/*.xml

This allows you to boot up any Spring services you wish; whether they are Camel related or any other Spring POJOs.

  • No labels