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

XmppBinding will add non-serializeable header values to the outgoing xmpp message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • camel-xmpp
    • None
    • Patch Available

    Description

      I started using velocity in my project which seems to add some headers to the message exchange, the values of which are apparently not serialize-able. As a result when a message in my route gets to the camel-xmpp component it fails in XmppBinding with an IllegalArgumentException as the binding tries to add the bad header. This patch that by not inserting any headers into the xmpp message that don't have serialize-able values.

      Attachments

        1. header_patch.txt
          1 kB
          Stanley J. Lewis

        Activity

          People

            njiang Willem Jiang
            slewis Stanley J. Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: