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)