Package org.apache.camel.impl.event
Class DefaultEventFactory
java.lang.Object
org.apache.camel.impl.event.DefaultEventFactory
- All Implemented Interfaces:
org.apache.camel.spi.EventFactory
Default implementation of the
EventFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.spi.CamelEventcreateCamelContextInitializedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextInitializingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextReloaded(org.apache.camel.CamelContext context, Object source) org.apache.camel.spi.CamelEventcreateCamelContextReloadFailure(org.apache.camel.CamelContext context, Object source, Throwable cause) org.apache.camel.spi.CamelEventcreateCamelContextReloading(org.apache.camel.CamelContext context, Object source) org.apache.camel.spi.CamelEventcreateCamelContextResumedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextResumeFailureEvent(org.apache.camel.CamelContext context, Throwable cause) org.apache.camel.spi.CamelEventcreateCamelContextResumingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextRoutesStartedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextRoutesStartingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextRoutesStoppedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextRoutesStoppingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextStartedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextStartingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextStartupFailureEvent(org.apache.camel.CamelContext context, Throwable cause) org.apache.camel.spi.CamelEventcreateCamelContextStopFailureEvent(org.apache.camel.CamelContext context, Throwable cause) org.apache.camel.spi.CamelEventcreateCamelContextStoppedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextStoppingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextSuspendedEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelContextSuspendingEvent(org.apache.camel.CamelContext context) org.apache.camel.spi.CamelEventcreateCamelExchangeAsyncProcessingStartedEvent(org.apache.camel.Exchange exchange) org.apache.camel.spi.CamelEventcreateExchangeCompletedEvent(org.apache.camel.Exchange exchange) org.apache.camel.spi.CamelEventcreateExchangeCreatedEvent(org.apache.camel.Exchange exchange) org.apache.camel.spi.CamelEventcreateExchangeFailedEvent(org.apache.camel.Exchange exchange) org.apache.camel.spi.CamelEventcreateExchangeFailureHandledEvent(org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) org.apache.camel.spi.CamelEventcreateExchangeFailureHandlingEvent(org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) org.apache.camel.spi.CamelEventcreateExchangeRedeliveryEvent(org.apache.camel.Exchange exchange, int attempt) org.apache.camel.spi.CamelEventcreateExchangeSendingEvent(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) org.apache.camel.spi.CamelEventcreateExchangeSentEvent(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint, long timeTaken) org.apache.camel.spi.CamelEventcreateRouteAddedEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateRouteReloaded(org.apache.camel.Route route, int index, int total) org.apache.camel.spi.CamelEventcreateRouteRemovedEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateRouteStartedEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateRouteStartingEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateRouteStoppedEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateRouteStoppingEvent(org.apache.camel.Route route) org.apache.camel.spi.CamelEventcreateServiceStartupFailureEvent(org.apache.camel.CamelContext context, Object service, Throwable cause) org.apache.camel.spi.CamelEventcreateServiceStopFailureEvent(org.apache.camel.CamelContext context, Object service, Throwable cause) org.apache.camel.spi.CamelEventcreateStepCompletedEvent(org.apache.camel.Exchange exchange, String stepId) org.apache.camel.spi.CamelEventcreateStepFailedEvent(org.apache.camel.Exchange exchange, String stepId) org.apache.camel.spi.CamelEventcreateStepStartedEvent(org.apache.camel.Exchange exchange, String stepId) booleanvoidsetTimestampEnabled(boolean timestampEnabled)
-
Constructor Details
-
DefaultEventFactory
public DefaultEventFactory()
-
-
Method Details
-
isTimestampEnabled
public boolean isTimestampEnabled()- Specified by:
isTimestampEnabledin interfaceorg.apache.camel.spi.EventFactory
-
setTimestampEnabled
public void setTimestampEnabled(boolean timestampEnabled) - Specified by:
setTimestampEnabledin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextInitializingEvent
public org.apache.camel.spi.CamelEvent createCamelContextInitializingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextInitializingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextInitializedEvent
public org.apache.camel.spi.CamelEvent createCamelContextInitializedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextInitializedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStartingEvent
public org.apache.camel.spi.CamelEvent createCamelContextStartingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextStartingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStartedEvent
public org.apache.camel.spi.CamelEvent createCamelContextStartedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextStartedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStoppingEvent
public org.apache.camel.spi.CamelEvent createCamelContextStoppingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextStoppingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStoppedEvent
public org.apache.camel.spi.CamelEvent createCamelContextStoppedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextStoppedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextRoutesStartingEvent
public org.apache.camel.spi.CamelEvent createCamelContextRoutesStartingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextRoutesStartingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextRoutesStartedEvent
public org.apache.camel.spi.CamelEvent createCamelContextRoutesStartedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextRoutesStartedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextRoutesStoppingEvent
public org.apache.camel.spi.CamelEvent createCamelContextRoutesStoppingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextRoutesStoppingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextRoutesStoppedEvent
public org.apache.camel.spi.CamelEvent createCamelContextRoutesStoppedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextRoutesStoppedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStartupFailureEvent
public org.apache.camel.spi.CamelEvent createCamelContextStartupFailureEvent(org.apache.camel.CamelContext context, Throwable cause) - Specified by:
createCamelContextStartupFailureEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextStopFailureEvent
public org.apache.camel.spi.CamelEvent createCamelContextStopFailureEvent(org.apache.camel.CamelContext context, Throwable cause) - Specified by:
createCamelContextStopFailureEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextReloading
public org.apache.camel.spi.CamelEvent createCamelContextReloading(org.apache.camel.CamelContext context, Object source) - Specified by:
createCamelContextReloadingin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextReloadFailure
public org.apache.camel.spi.CamelEvent createCamelContextReloadFailure(org.apache.camel.CamelContext context, Object source, Throwable cause) - Specified by:
createCamelContextReloadFailurein interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextReloaded
public org.apache.camel.spi.CamelEvent createCamelContextReloaded(org.apache.camel.CamelContext context, Object source) - Specified by:
createCamelContextReloadedin interfaceorg.apache.camel.spi.EventFactory
-
createServiceStartupFailureEvent
public org.apache.camel.spi.CamelEvent createServiceStartupFailureEvent(org.apache.camel.CamelContext context, Object service, Throwable cause) - Specified by:
createServiceStartupFailureEventin interfaceorg.apache.camel.spi.EventFactory
-
createServiceStopFailureEvent
public org.apache.camel.spi.CamelEvent createServiceStopFailureEvent(org.apache.camel.CamelContext context, Object service, Throwable cause) - Specified by:
createServiceStopFailureEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteStartingEvent
public org.apache.camel.spi.CamelEvent createRouteStartingEvent(org.apache.camel.Route route) - Specified by:
createRouteStartingEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteStartedEvent
public org.apache.camel.spi.CamelEvent createRouteStartedEvent(org.apache.camel.Route route) - Specified by:
createRouteStartedEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteStoppingEvent
public org.apache.camel.spi.CamelEvent createRouteStoppingEvent(org.apache.camel.Route route) - Specified by:
createRouteStoppingEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteStoppedEvent
public org.apache.camel.spi.CamelEvent createRouteStoppedEvent(org.apache.camel.Route route) - Specified by:
createRouteStoppedEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteAddedEvent
public org.apache.camel.spi.CamelEvent createRouteAddedEvent(org.apache.camel.Route route) - Specified by:
createRouteAddedEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteRemovedEvent
public org.apache.camel.spi.CamelEvent createRouteRemovedEvent(org.apache.camel.Route route) - Specified by:
createRouteRemovedEventin interfaceorg.apache.camel.spi.EventFactory
-
createRouteReloaded
public org.apache.camel.spi.CamelEvent createRouteReloaded(org.apache.camel.Route route, int index, int total) - Specified by:
createRouteReloadedin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeCreatedEvent
public org.apache.camel.spi.CamelEvent createExchangeCreatedEvent(org.apache.camel.Exchange exchange) - Specified by:
createExchangeCreatedEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeCompletedEvent
public org.apache.camel.spi.CamelEvent createExchangeCompletedEvent(org.apache.camel.Exchange exchange) - Specified by:
createExchangeCompletedEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeFailedEvent
public org.apache.camel.spi.CamelEvent createExchangeFailedEvent(org.apache.camel.Exchange exchange) - Specified by:
createExchangeFailedEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeFailureHandlingEvent
public org.apache.camel.spi.CamelEvent createExchangeFailureHandlingEvent(org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) - Specified by:
createExchangeFailureHandlingEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeFailureHandledEvent
public org.apache.camel.spi.CamelEvent createExchangeFailureHandledEvent(org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) - Specified by:
createExchangeFailureHandledEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeRedeliveryEvent
public org.apache.camel.spi.CamelEvent createExchangeRedeliveryEvent(org.apache.camel.Exchange exchange, int attempt) - Specified by:
createExchangeRedeliveryEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeSendingEvent
public org.apache.camel.spi.CamelEvent createExchangeSendingEvent(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) - Specified by:
createExchangeSendingEventin interfaceorg.apache.camel.spi.EventFactory
-
createExchangeSentEvent
public org.apache.camel.spi.CamelEvent createExchangeSentEvent(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint, long timeTaken) - Specified by:
createExchangeSentEventin interfaceorg.apache.camel.spi.EventFactory
-
createStepStartedEvent
public org.apache.camel.spi.CamelEvent createStepStartedEvent(org.apache.camel.Exchange exchange, String stepId) - Specified by:
createStepStartedEventin interfaceorg.apache.camel.spi.EventFactory
-
createStepCompletedEvent
public org.apache.camel.spi.CamelEvent createStepCompletedEvent(org.apache.camel.Exchange exchange, String stepId) - Specified by:
createStepCompletedEventin interfaceorg.apache.camel.spi.EventFactory
-
createStepFailedEvent
public org.apache.camel.spi.CamelEvent createStepFailedEvent(org.apache.camel.Exchange exchange, String stepId) - Specified by:
createStepFailedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextSuspendingEvent
public org.apache.camel.spi.CamelEvent createCamelContextSuspendingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextSuspendingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextSuspendedEvent
public org.apache.camel.spi.CamelEvent createCamelContextSuspendedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextSuspendedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextResumingEvent
public org.apache.camel.spi.CamelEvent createCamelContextResumingEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextResumingEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextResumedEvent
public org.apache.camel.spi.CamelEvent createCamelContextResumedEvent(org.apache.camel.CamelContext context) - Specified by:
createCamelContextResumedEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelContextResumeFailureEvent
public org.apache.camel.spi.CamelEvent createCamelContextResumeFailureEvent(org.apache.camel.CamelContext context, Throwable cause) - Specified by:
createCamelContextResumeFailureEventin interfaceorg.apache.camel.spi.EventFactory
-
createCamelExchangeAsyncProcessingStartedEvent
public org.apache.camel.spi.CamelEvent createCamelExchangeAsyncProcessingStartedEvent(org.apache.camel.Exchange exchange) - Specified by:
createCamelExchangeAsyncProcessingStartedEventin interfaceorg.apache.camel.spi.EventFactory
-