Workaround for UnsupportedEncodingException
-------------------------------------------

                 Key: CAMEL-2152
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2152
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-mail
    Affects Versions: 2.0.0
            Reporter: Dan Checkoway
             Fix For: 2.1.0
         Attachments: dcheckoway-charset-fix.diff

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to