I\'m trying to retrieve the stacktrace from the onException handler in Apache Camel:
java.lang.Exception&
Use exception.stacktrace to get the stacktrace. See the variables listed in the table at this page: http://camel.apache.org/simple
${exception.stacktrace}
There is also a ${exception.message} to refer to the exception message itself.