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

Header not set after dead letter queue handles unmarshal error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.8.2, 2.9.0
    • camel-core
    • None
    • Java version: 1.6.0_11, vendor: Sun Microsystems Inc.
      OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

    • Unknown

    Description

      We have a route which unmarshals a soap msg into an object. On that route is a dead letter queue error handler. That DLQ sets headers on the message used later for error reporting.

      If the error is thrown by the marshaller, the first header that we try to set is wiped out. The 2nd header is set with no problem. If an error is thrown by something other than the marshaller, the correct headers are set.

      See attached project with failed test case (canSetHeadersOnBadXmlDeadLetter)

      Attachments

        1. marshalBug.zip
          50 kB
          Roy Truelove

        Activity

          People

            davsclaus Claus Ibsen
            roytruelove@gmail.com Roy Truelove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: