If you want to create your own version of the Spring Example you can use the maven archetype.
Note: -DarchetypeVersion=1.5.0 is the version number of Camel. Change this to the current version of Camel you are using.
This will create a maven project which can be run immediately via the Camel Maven Plugin as follows
The configuration file is in src/main/resources/META-INF/spring/camel-context.xml.
The routing rules lives at src/main/java/myGroupId/MyRouteBuilder.java