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
Why is the exception null when I use onException?
If you use
Then make notice that because you use
Instead you can access the caused exception from a property on the exchange with the key