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

camel-core - Languages should be singleton for better performance

    XMLWordPrintableJSON

Details

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

    Description

      Some of the languages can be configured with various options like bean/xtokenizer/xpath etc, however this makes those languages non singleton, which hampers performance as the language is resolved for each message which then is a bottleneck.

      Instead we should introduce a createExpression api that takes var args as parameters so they can be provided on-demand and the language can be singleton.

      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: