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/13 10:15:00 UTC

[jira] [Updated] (CAMEL-18106) camel-core - Optimize ExchangeHelper.getCharsetName(exchange)

     [ https://issues.apache.org/jira/browse/CAMEL-18106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-18106:
--------------------------------
    Fix Version/s: 3.17.0
                       (was: 3.18.0)

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.17.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)