Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18106

camel-core - Optimize ExchangeHelper.getCharsetName(exchange)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.17.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: