Uses of Interface
org.apache.camel.spi.CamelEvent
Packages that use CamelEvent
Package
Description
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of CamelEvent in org.apache.camel.spi
Subinterfaces of CamelEvent in org.apache.camel.spiModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceSpecial event only in use for camel-tracing / camel-opentelemetry.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceThis interface is implemented by all events that contain an exception and is used to retrieve the exception in a universal way.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceMethods in org.apache.camel.spi that return CamelEventModifier and TypeMethodDescriptionEventFactory.createCamelContextInitializedEvent(CamelContext context) Creates anCamelEventfor Camel has been initialized successfully.EventFactory.createCamelContextInitializingEvent(CamelContext context) Creates anCamelEventfor Camel is initializing.EventFactory.createCamelContextReloaded(CamelContext context, Object source) Creates anCamelEventforCamelContexthas been reloaded successfully.EventFactory.createCamelContextReloadFailure(CamelContext context, Object source, Throwable cause) Creates anCamelEventforCamelContextfailed reload.EventFactory.createCamelContextReloading(CamelContext context, Object source) Creates anCamelEventforCamelContextbeing reloaded.EventFactory.createCamelContextResumedEvent(CamelContext context) Creates anCamelEventfor Camel has been resumed successfully.EventFactory.createCamelContextResumeFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to resumeEventFactory.createCamelContextResumingEvent(CamelContext context) Creates anCamelEventfor Camel is resuming.EventFactory.createCamelContextRoutesStartedEvent(CamelContext context) Creates anCamelEventfor Camel routes started.EventFactory.createCamelContextRoutesStartingEvent(CamelContext context) Creates anCamelEventfor Camel routes starting.EventFactory.createCamelContextRoutesStoppedEvent(CamelContext context) Creates anCamelEventfor Camel routes stopped.EventFactory.createCamelContextRoutesStoppingEvent(CamelContext context) Creates anCamelEventfor Camel routes stopping.EventFactory.createCamelContextStartedEvent(CamelContext context) Creates anCamelEventfor Camel has been started successfully.EventFactory.createCamelContextStartingEvent(CamelContext context) Creates anCamelEventfor Camel is starting.EventFactory.createCamelContextStartupFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to startEventFactory.createCamelContextStopFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to stop cleanlyEventFactory.createCamelContextStoppedEvent(CamelContext context) Creates anCamelEventfor Camel has been stopped successfully.EventFactory.createCamelContextStoppingEvent(CamelContext context) Creates anCamelEventfor Camel is stopping.EventFactory.createCamelContextSuspendedEvent(CamelContext context) Creates anCamelEventfor Camel has been suspended successfully.EventFactory.createCamelContextSuspendingEvent(CamelContext context) Creates anCamelEventfor Camel is suspending.EventFactory.createCamelExchangeAsyncProcessingStartedEvent(Exchange exchange) Creates anCamelEventwhen anExchangeasynchronous processing has been started.EventFactory.createExchangeCompletedEvent(Exchange exchange) Creates anCamelEventwhen anExchangehas been completed successfullyEventFactory.createExchangeCreatedEvent(Exchange exchange) Creates anCamelEventwhen anExchangehas been createdEventFactory.createExchangeFailedEvent(Exchange exchange) Creates anCamelEventwhen anExchangehas failedEventFactory.createExchangeFailureHandledEvent(Exchange exchange, Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) Creates anCamelEventwhen anExchangehas failed but was handled by the Camel error handlers such as an dead letter channel, or a doTry .. doCatch block.EventFactory.createExchangeFailureHandlingEvent(Exchange exchange, Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) Creates anCamelEventwhen anExchangehas failed but is being handled by the Camel error handlers such as an dead letter channel, or a doTry .. doCatch block.EventFactory.createExchangeRedeliveryEvent(Exchange exchange, int attempt) Creates anCamelEventwhen anExchangeis about to be redeliveredEventFactory.createExchangeSendingEvent(Exchange exchange, Endpoint endpoint) Creates anCamelEventwhen anExchangeis about to be sent to the endpoint (eg before).EventFactory.createExchangeSentEvent(Exchange exchange, Endpoint endpoint, long timeTaken) Creates anCamelEventwhen anExchangehas completely been sent to the endpoint (eg after).EventFactory.createRouteAddedEvent(Route route) Creates anCamelEventforRoutehas been added successfully.EventFactory.createRouteReloaded(Route route, int index, int total) Creates anCamelEventforRoutehas been reloaded successfully.EventFactory.createRouteRemovedEvent(Route route) Creates anCamelEventforRoutehas been removed successfully.EventFactory.createRouteRestarting(Route route, long attempt) EventFactory.createRouteRestartingFailure(Route route, long attempt, Throwable cause, boolean exhausted) EventFactory.createRouteStartedEvent(Route route) Creates anCamelEventforRoutehas been started successfully.EventFactory.createRouteStartingEvent(Route route) Creates anCamelEventforRouteis starting.EventFactory.createRouteStoppedEvent(Route route) Creates anCamelEventforRoutehas been stopped successfully.EventFactory.createRouteStoppingEvent(Route route) Creates anCamelEventforRouteis stopping.EventFactory.createServiceStartupFailureEvent(CamelContext context, Object service, Throwable cause) Creates anCamelEventfor a Service failed to start cleanlyEventFactory.createServiceStopFailureEvent(CamelContext context, Object service, Throwable cause) Creates anCamelEventfor a Service failed to stop cleanlyEventFactory.createStepCompletedEvent(Exchange exchange, String stepId) Creates anCamelEventwhen a step has been completed successfullyEventFactory.createStepFailedEvent(Exchange exchange, String stepId) Creates anCamelEventwhen a step has failedEventFactory.createStepStartedEvent(Exchange exchange, String stepId) Creates anCamelEventwhen a step has been startedMethods in org.apache.camel.spi with parameters of type CamelEventModifier and TypeMethodDescriptionbooleanEventNotifier.isEnabled(CamelEvent event) Checks whether notification for the given event is enabled.voidEventNotifier.notify(CamelEvent event) Notifies the given eventvoidManagementStrategy.notify(CamelEvent event) Management events provide a single model for capturing information about execution points in the application code.