Interface CamelEvent.RouteEvent

All Superinterfaces:
CamelEvent
All Known Subinterfaces:
CamelEvent.RouteAddedEvent, CamelEvent.RouteReloadedEvent, CamelEvent.RouteRemovedEvent, CamelEvent.RouteRestartingEvent, CamelEvent.RouteRestartingFailureEvent, CamelEvent.RouteStartedEvent, CamelEvent.RouteStartingEvent, CamelEvent.RouteStoppedEvent, CamelEvent.RouteStoppingEvent
Enclosing interface:
CamelEvent

public static interface CamelEvent.RouteEvent extends CamelEvent
Event related to Route lifecycle changes.
Since:
3.0
  • Method Details

    • getRoute

      Route getRoute()
      Returns the route.
    • getSource

      default Object getSource()
      Description copied from interface: CamelEvent
      Returns the source of this event (typically the CamelContext, Exchange, Route, or Service).
      Specified by:
      getSource in interface CamelEvent