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

camel-core - Optimize Splitter using java.util.Scanner

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.x
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Using java.util.Scanner to use for splitting could potentially be optimized for more basic splitting by single char, like we do for comma.

      The Scanner creates a lot of object allocations with reg exp patterns and whatnot that is way overkill.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: