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

Optimize routing engine to reduce stack frames in use during routing and reduce callbacks

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.12.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We can optimize the Camel routing engine internally, and redue the need for wrapping processors (those internally used for cross cutting functionality) where they would wrap each other one by one; which then results in larger call stacks during routing.

      This also shows to end users when stacktraces is being logged etc, as they tend to be a bit longer with many internal calls.

      Though the JVM optimizes this at runtime as it can inline the calls and whatnot. But the stacktraces is still shown expanded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: