Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 639EE10074 for ; Sat, 28 Sep 2013 10:48:11 +0000 (UTC) Received: (qmail 53052 invoked by uid 500); 28 Sep 2013 10:48:09 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 52967 invoked by uid 500); 28 Sep 2013 10:48:06 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 52947 invoked by uid 99); 28 Sep 2013 10:48:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Sep 2013 10:48:04 +0000 Date: Sat, 28 Sep 2013 10:48:03 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-5771) IOHelper.getCharsetName() should lookup CHARSET_NAME in headers if exchange property is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-5771: ------------------------------- Fix Version/s: (was: Future) 2.13.0 2.12.2 2.11.3 As we are only reading this is less harmful, and the header() in the DSL does a fallback to property, so we could allow to lookup the header as well. > IOHelper.getCharsetName() should lookup CHARSET_NAME in headers if exchange property is not set > ----------------------------------------------------------------------------------------------- > > Key: CAMEL-5771 > URL: https://issues.apache.org/jira/browse/CAMEL-5771 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.10.2 > Reporter: Marco Zapletal > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.11.3, 2.12.2, 2.13.0 > > > The CHARSET_NAME is currently set as an exchange property. When the exchange is sent over JMS, the properties are lost, which may result in inconveniences in case conversion of the payload is required. > In order to tackle this problem, I suggest that IOHelper.getCharsetName() looks up the CHARSET_NAME in the headers of the IN message in case the property is not set on the exchange. > If this change is accepted, I am happy to provide a patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira