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

Compare with Current View Page History

« Previous Version 2 Next »

Creating a new Spring Example

If you want to create your own version of the Spring Example you can use the maven archetype.

 

This will create a maven project which can be run immediately via the Camel Maven Plugin as follows

cd myArtifact
mvn jetty:run

The configuration file is in src/main/resources/META-INF/spring/camel-context.xml. Then the first routing rules lives at src/main/java/myGroup/MyRouteBuilder.java

  • No labels