camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Paulsen (JIRA) <j...@apache.org>
Subject [jira] [Created] (CAMEL-8755) No Message History on deadLetterChannel
Date Fri, 08 May 2015 07:50:59 GMT
Björn Paulsen created CAMEL-8755:
------------------------------------

             Summary: No Message History on deadLetterChannel
                 Key: CAMEL-8755
                 URL: https://issues.apache.org/jira/browse/CAMEL-8755
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.15.2, 2.15.1, 2.15.0, 2.14.2, 2.14.1
         Environment: Windows 8, Eclipse, Maven. Apache Camel spring. 2.14.1 - 2.15.2
            Reporter: Björn Paulsen


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));





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message