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

Workaround for UnsupportedEncodingException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • camel-mail
    • None
    • Patch Available

    Description

      Reference this discussion: http://old.nabble.com/Camel-Mail-issue-with-unsupported-charset-td24755585.html

      Camel-mail fails to process a message with an unsupported charset in the Content-Type. It throws an exception and can never get past that message...subsequent messages in the inbox never get processed.

      Claus and I came up with a fix, where we make a copy of the MimeMessage object and modify the Content-Type header, stripping the unrecognized charset.

      Attachments

        1. dcheckoway-charset-fix.diff
          6 kB
          Dan Checkoway

        Activity

          People

            davsclaus Claus Ibsen
            dcheckoway Dan Checkoway
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: