Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.2, 2.15.2
-
None
-
None
-
Windows 8, Eclipse, Maven. Apache Camel spring. 2.14.1 - 2.15.2
-
Unknown
Description
If the default errorHandler is a deadLetterChannel, no MessageHistory will be displayed by an Error.
This work:
public class defaultRoutes extends RouteBuilder {
public void configure() throws Exception {
errorHandler(defaultErrorHandler()
.logExhausted(true)
.logExhaustedMessageHistory(true));
This not:
public class defaultRoutes extends RouteBuilder {
public void configure() throws Exception {
errorHandler(deadLetterChannel("direct:deadLetter")
.logExhausted(true)
.logExhaustedMessageHistory(true));
Attachments
Issue Links
- is related to
-
CAMEL-9558 DefaultErrorHandler logs despite "handled true"
- Resolved