|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventFactory
Factory to create events that are emitted when such an event occur.
Exchange is being created and then later when its done.
| Method Detail |
|---|
EventObject createCamelContextStartingEvent(CamelContext context)
EventObject for Camel is starting.
context - camel context
EventObject createCamelContextStartedEvent(CamelContext context)
EventObject for Camel has been started successfully.
context - camel context
EventObject createCamelContextStartupFailureEvent(CamelContext context,
Throwable cause)
EventObject for Camel failing to start
context - camel contextcause - the cause exception
EventObject createCamelContextStopFailureEvent(CamelContext context,
Throwable cause)
EventObject for Camel failing to stop cleanly
context - camel contextcause - the cause exception
EventObject createCamelContextStoppingEvent(CamelContext context)
EventObject for Camel is stopping.
context - camel context
EventObject createCamelContextStoppedEvent(CamelContext context)
EventObject for Camel has been stopped successfully.
context - camel context
EventObject createServiceStartupFailureEvent(CamelContext context,
Object service,
Throwable cause)
EventObject for a Service failed to start cleanly
context - camel contextservice - the servicecause - the cause exception
EventObject createServiceStopFailureEvent(CamelContext context,
Object service,
Throwable cause)
EventObject for a Service failed to stop cleanly
context - camel contextservice - the servicecause - the cause exception
EventObject createRouteStartedEvent(Route route)
EventObject for Route has been started successfully.
route - the route
EventObject createRouteStoppedEvent(Route route)
EventObject for Route has been stopped successfully.
route - the route
EventObject createExchangeCreatedEvent(Exchange exchange)
EventObject when an Exchange has been created
exchange - the exchange
EventObject createExchangeCompletedEvent(Exchange exchange)
EventObject when an Exchange has been completed successfully
exchange - the exchange
EventObject createExchangeFailedEvent(Exchange exchange)
EventObject when an Exchange has failed
exchange - the exchange
EventObject createExchangeFailureHandledEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel)
EventObject when an Exchange has failed
but was handled by the Camel error handlers such as an dead letter channel.
exchange - the exchangefailureHandler - the failure handler such as moving the message to a dead letter queuedeadLetterChannel - whether it was a dead letter channel or not handling the failure
EventObject createExchangeRedeliveryEvent(Exchange exchange,
int attempt)
EventObject when an Exchange is about to be redelivered
exchange - the exchangeattempt - the current redelivery attempt (starts from 1)
EventObject createExchangeSentEvent(Exchange exchange,
Endpoint endpoint,
long timeTaken)
EventObject when an Exchange has completely been sent to the endpoint.
exchange - the exchangeendpoint - the destinationtimeTaken - time in millis taken
EventObject createCamelContextSuspendingEvent(CamelContext context)
EventObject for Camel is suspending.
context - camel context
EventObject createCamelContextSuspendedEvent(CamelContext context)
EventObject for Camel has been suspended successfully.
context - camel context
EventObject createCamelContextResumingEvent(CamelContext context)
EventObject for Camel is resuming.
context - camel context
EventObject createCamelContextResumedEvent(CamelContext context)
EventObject for Camel has been resumed successfully.
context - camel context
EventObject createCamelContextResumeFailureEvent(CamelContext context,
Throwable cause)
EventObject for Camel failing to resume
context - camel contextcause - the cause exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||