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

Optimize EventNotifier sending/sent exchange

    XMLWordPrintableJSON

Details

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

    Description

      We create a fair number of StopWatch instances which is only needed if the event notification is being in use.

      However we can optimize this to let the sending return a boolean whether its in use or not, and then only if its in use, then we create a StopWatch to capture the timing.

      Attachments

        1. stop-watch.png
          101 kB
          Claus Ibsen

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: