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

Use abstract base class for all context and route events

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.17.7, 2.18.4, 2.19.1
    • Fix Version/s: 2.17.7, 2.18.5, 2.19.2, 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Currently the context based events like CamelContextResumedEvent do not share a base class that allows to see they are a group of events and to retrieve the CamelContext.

      I propose to create such a abstract base class and let the events inherit from it (like for Exchange events).

      In the same way we should have a common base class for route events.

        Attachments

          Activity

            People

            • Assignee:
              cschneider Christian Schneider
              Reporter:
              cschneider Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: