I am trying to log the exception with an onException. The problem is that I am not seeing the stacktrace, or the body even though I have the parameters set to true. Does anyone see anything in particular that is wrong with what I am doing?
onException(classOf[Exception])
.routeId("ExceptionHandler")
.handled(true)
.log(LoggingLevel.DEBUG, "Sending ${body} to error log")
.to("log:com.mycompany.camel?level=ERROR&showException=true&showStackTrace=true&showHeaders=true&showBody=true")\
Jason
