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 18:40:00 UTC
[jira] [Commented] (CAMEL-15605) camel-core - Languages should be
singleton for better performance
[ https://issues.apache.org/jira/browse/CAMEL-15605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205749#comment-17205749 ]
Claus Ibsen commented on CAMEL-15605:
-------------------------------------
Last language to fix is xquery.
> 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
> Priority: Major
> 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)