You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/05/12 20:20:00 UTC
[jira] [Created] (CAMEL-18106) camel-core - Optimize ExchangeHelper.getCharsetName(exchange)
Claus Ibsen created CAMEL-18106:
-----------------------------------
Summary: camel-core - Optimize ExchangeHelper.getCharsetName(exchange)
Key: CAMEL-18106
URL: https://issues.apache.org/jira/browse/CAMEL-18106
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.18.0
We can optimize when the exchange has not custom charset name, then we can use Charset UTF8 as the default which is quicker than UTF-8 as string literal.
Because this would return a Charset vs String then the internals of camel-core need to be adjusted for this optimization.
Especially in type converters this can help.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)