Package org.apache.camel.spi
Interface CamelEvent
-
- All Known Subinterfaces:
CamelEvent.CamelContextEvent
,CamelEvent.CamelContextInitializedEvent
,CamelEvent.CamelContextInitializingEvent
,CamelEvent.CamelContextReloadedEvent
,CamelEvent.CamelContextReloadFailureEvent
,CamelEvent.CamelContextReloadingEvent
,CamelEvent.CamelContextResumedEvent
,CamelEvent.CamelContextResumeFailureEvent
,CamelEvent.CamelContextResumingEvent
,CamelEvent.CamelContextRoutesStartedEvent
,CamelEvent.CamelContextRoutesStartingEvent
,CamelEvent.CamelContextRoutesStoppedEvent
,CamelEvent.CamelContextRoutesStoppingEvent
,CamelEvent.CamelContextStartedEvent
,CamelEvent.CamelContextStartingEvent
,CamelEvent.CamelContextStartupFailureEvent
,CamelEvent.CamelContextStopFailureEvent
,CamelEvent.CamelContextStoppedEvent
,CamelEvent.CamelContextStoppingEvent
,CamelEvent.CamelContextSuspendedEvent
,CamelEvent.CamelContextSuspendingEvent
,CamelEvent.ExchangeAsyncProcessingStartedEvent
,CamelEvent.ExchangeCompletedEvent
,CamelEvent.ExchangeCreatedEvent
,CamelEvent.ExchangeEvent
,CamelEvent.ExchangeFailedEvent
,CamelEvent.ExchangeFailureEvent
,CamelEvent.ExchangeFailureHandledEvent
,CamelEvent.ExchangeFailureHandlingEvent
,CamelEvent.ExchangeRedeliveryEvent
,CamelEvent.ExchangeSendingEvent
,CamelEvent.ExchangeSentEvent
,CamelEvent.FailureEvent
,CamelEvent.RouteAddedEvent
,CamelEvent.RouteEvent
,CamelEvent.RouteReloadedEvent
,CamelEvent.RouteRemovedEvent
,CamelEvent.RouteStartedEvent
,CamelEvent.RouteStartingEvent
,CamelEvent.RouteStoppedEvent
,CamelEvent.RouteStoppingEvent
,CamelEvent.ServiceEvent
,CamelEvent.ServiceStartupFailureEvent
,CamelEvent.ServiceStopFailureEvent
,CamelEvent.StepCompletedEvent
,CamelEvent.StepEvent
,CamelEvent.StepFailedEvent
,CamelEvent.StepStartedEvent
public interface CamelEvent
This interface is implemented by all events.
-
-
Nested Class Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getSource()
long
getTimestamp()
Timestamp for each event, when the event occurred.CamelEvent.Type
getType()
void
setTimestamp(long timestamp)
-
-
-
Method Detail
-
getType
CamelEvent.Type getType()
-
getSource
Object getSource()
-
getTimestamp
long getTimestamp()
Timestamp for each event, when the event occurred. By default, the timestamp is not included and this method returns 0.
-
setTimestamp
void setTimestamp(long timestamp)
-
-