[
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