Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8755

No Message History on deadLetterChannel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.2, 2.15.2
    • 2.16.0
    • 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

          Activity

            People

              davsclaus Claus Ibsen
              burner Björn Paulsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: