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

camel-core - optiomize - Initialize of expression to avoid runtime check

    XMLWordPrintableJSON

Details

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

    Description

      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

      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: