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 2020/10/01 07:14:00 UTC

[jira] [Created] (CAMEL-15605) camel-core - Languages should be singleton for better performance

Claus Ibsen created CAMEL-15605:
-----------------------------------

             Summary: camel-core - Languages should be singleton for better performance
                 Key: CAMEL-15605
                 URL: https://issues.apache.org/jira/browse/CAMEL-15605
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.6.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)