camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8755) No Message History on deadLetterChannel
Date Sun, 10 May 2015 07:31:59 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-8755:
-------------------------------
    Affects Version/s:     (was: 2.15.1)
                           (was: 2.14.1)
                           (was: 2.15.0)

> No Message History on deadLetterChannel
> ---------------------------------------
>
>                 Key: CAMEL-8755
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8755
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.14.2, 2.15.2
>         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