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/21 12:02:00 UTC

[jira] [Created] (CAMEL-15726) camel-core - Simple language concat expressions optimize for constant parts

Claus Ibsen created CAMEL-15726:
-----------------------------------

             Summary: camel-core - Simple language concat expressions optimize for constant parts
                 Key: CAMEL-15726
                 URL: https://issues.apache.org/jira/browse/CAMEL-15726
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.7.0


If you have a simple expression

Hello ${body} how are you

Then its 3 parts: constant, body, constant
And at runtime they get evaluated and appended together as string.

We could potentially optimize this for constant and pre eval then as string and then skip the noop eval when they are assembled.



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