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
How do I reuse the ContextTestSupport class in my unit tests
You might want to look at the various Testing options, in particular Camel Test and Spring Testing to see if those are better, more powerful options. We see ContextTestSupport as an older, less powerful option.
There are a number of useful unit test cases and support classes you can reuse in your own unit test cases.
If you use maven2 then here you go:
if you don't use maven: