Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
This makes it very easy to spin up and test your routing rules without having to write a main(String) method; it also lets you create multiple jars to host different sets of routing rules and easily test them independently.
How this works is that the plugin will compile the source code in the maven project, then boot up a Guice context using JNDI using the jndi.properties file as described in the guice injection documentation.
This allows you to boot up any Guice services you wish; whether they are Camel related or any other Guice POJOs.
If you want to boot up your Camel routes a little faster, you could try the guice:embedded instead.