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

Use abstract base class for all context and route events

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.17.7, 2.18.4, 2.19.1
    • 2.17.7, 2.18.5, 2.19.2, 2.20.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: