Using exceptions
When a message enters the Error Route as a failed exchange it contains an element with detailed information about why it failed; the exception. The data in the exception can be used for logging, monitoring, reporting and/or functionally handling failed exchanges.