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/03 07:41:00 UTC

[jira] [Created] (CAMEL-15627) camel-core - Initialize of expression to avoid runtime check

Claus Ibsen created CAMEL-15627:
-----------------------------------

             Summary: camel-core - Initialize of expression to avoid runtime check
                 Key: CAMEL-15627
                 URL: https://issues.apache.org/jira/browse/CAMEL-15627
             Project: Camel
          Issue Type: Task
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 3.x


Some expressions have init logic to setup resources and whatnot. But some places we call init on evaluate/matches. Instead we should ensure init is first-class so we dont need to have this runtime check overhead.

Just follow this where its used in the code
org.apache.camel.Expression#init



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