|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.management.event.DefaultEventFactory
public class DefaultEventFactory
Default implementation of the EventFactory.
| Constructor Summary | |
|---|---|
DefaultEventFactory()
|
|
| Method Summary | |
|---|---|
EventObject |
createCamelContextResumedEvent(CamelContext context)
Creates an EventObject for Camel has been resumed successfully. |
EventObject |
createCamelContextResumeFailureEvent(CamelContext context,
Throwable cause)
Creates an EventObject for Camel failing to resume |
EventObject |
createCamelContextResumingEvent(CamelContext context)
Creates an EventObject for Camel is resuming. |
EventObject |
createCamelContextStartedEvent(CamelContext context)
Creates an EventObject for Camel has been started successfully. |
EventObject |
createCamelContextStartingEvent(CamelContext context)
Creates an EventObject for Camel is starting. |
EventObject |
createCamelContextStartupFailureEvent(CamelContext context,
Throwable cause)
Creates an EventObject for Camel failing to start |
EventObject |
createCamelContextStopFailureEvent(CamelContext context,
Throwable cause)
Creates an EventObject for Camel failing to stop cleanly |
EventObject |
createCamelContextStoppedEvent(CamelContext context)
Creates an EventObject for Camel has been stopped successfully. |
EventObject |
createCamelContextStoppingEvent(CamelContext context)
Creates an EventObject for Camel is stopping. |
EventObject |
createCamelContextSuspendedEvent(CamelContext context)
Creates an EventObject for Camel has been suspended successfully. |
EventObject |
createCamelContextSuspendingEvent(CamelContext context)
Creates an EventObject for Camel is suspending. |
EventObject |
createExchangeCompletedEvent(Exchange exchange)
Creates an EventObject when an Exchange has been completed successfully |
EventObject |
createExchangeCreatedEvent(Exchange exchange)
Creates an EventObject when an Exchange has been created |
EventObject |
createExchangeFailedEvent(Exchange exchange)
Creates an EventObject when an Exchange has failed |
EventObject |
createExchangeFailureHandledEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel)
Creates an EventObject when an Exchange has failed
but was handled by the Camel error handlers such as an dead letter channel. |
EventObject |
createExchangeRedeliveryEvent(Exchange exchange,
int attempt)
Creates an EventObject when an Exchange is about to be redelivered |
EventObject |
createExchangeSendingEvent(Exchange exchange,
Endpoint endpoint)
Creates an EventObject when an Exchange is about to be sent to the endpoint (eg before). |
EventObject |
createExchangeSentEvent(Exchange exchange,
Endpoint endpoint,
long timeTaken)
Creates an EventObject when an Exchange has completely been sent to the endpoint (eg after). |
EventObject |
createRouteStartedEvent(Route route)
Creates an EventObject for Route has been started successfully. |
EventObject |
createRouteStoppedEvent(Route route)
Creates an EventObject for Route has been stopped successfully. |
EventObject |
createServiceStartupFailureEvent(CamelContext context,
Object service,
Throwable cause)
Creates an EventObject for a Service failed to start cleanly |
EventObject |
createServiceStopFailureEvent(CamelContext context,
Object service,
Throwable cause)
Creates an EventObject for a Service failed to stop cleanly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEventFactory()
| Method Detail |
|---|
public EventObject createCamelContextStartingEvent(CamelContext context)
EventFactoryEventObject for Camel is starting.
createCamelContextStartingEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextStartedEvent(CamelContext context)
EventFactoryEventObject for Camel has been started successfully.
createCamelContextStartedEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextStoppingEvent(CamelContext context)
EventFactoryEventObject for Camel is stopping.
createCamelContextStoppingEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextStoppedEvent(CamelContext context)
EventFactoryEventObject for Camel has been stopped successfully.
createCamelContextStoppedEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextStartupFailureEvent(CamelContext context,
Throwable cause)
EventFactoryEventObject for Camel failing to start
createCamelContextStartupFailureEvent in interface EventFactorycontext - camel contextcause - the cause exception
public EventObject createCamelContextStopFailureEvent(CamelContext context,
Throwable cause)
EventFactoryEventObject for Camel failing to stop cleanly
createCamelContextStopFailureEvent in interface EventFactorycontext - camel contextcause - the cause exception
public EventObject createServiceStartupFailureEvent(CamelContext context,
Object service,
Throwable cause)
EventFactoryEventObject for a Service failed to start cleanly
createServiceStartupFailureEvent in interface EventFactorycontext - camel contextservice - the servicecause - the cause exception
public EventObject createServiceStopFailureEvent(CamelContext context,
Object service,
Throwable cause)
EventFactoryEventObject for a Service failed to stop cleanly
createServiceStopFailureEvent in interface EventFactorycontext - camel contextservice - the servicecause - the cause exception
public EventObject createRouteStartedEvent(Route route)
EventFactoryEventObject for Route has been started successfully.
createRouteStartedEvent in interface EventFactoryroute - the route
public EventObject createRouteStoppedEvent(Route route)
EventFactoryEventObject for Route has been stopped successfully.
createRouteStoppedEvent in interface EventFactoryroute - the route
public EventObject createExchangeCreatedEvent(Exchange exchange)
EventFactoryEventObject when an Exchange has been created
createExchangeCreatedEvent in interface EventFactoryexchange - the exchange
public EventObject createExchangeCompletedEvent(Exchange exchange)
EventFactoryEventObject when an Exchange has been completed successfully
createExchangeCompletedEvent in interface EventFactoryexchange - the exchange
public EventObject createExchangeFailedEvent(Exchange exchange)
EventFactoryEventObject when an Exchange has failed
createExchangeFailedEvent in interface EventFactoryexchange - the exchange
public EventObject createExchangeFailureHandledEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel)
EventFactoryEventObject when an Exchange has failed
but was handled by the Camel error handlers such as an dead letter channel.
createExchangeFailureHandledEvent in interface EventFactoryexchange - 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
public EventObject createExchangeRedeliveryEvent(Exchange exchange,
int attempt)
EventFactoryEventObject when an Exchange is about to be redelivered
createExchangeRedeliveryEvent in interface EventFactoryexchange - the exchangeattempt - the current redelivery attempt (starts from 1)
public EventObject createExchangeSendingEvent(Exchange exchange,
Endpoint endpoint)
EventFactoryEventObject when an Exchange is about to be sent to the endpoint (eg before).
createExchangeSendingEvent in interface EventFactoryexchange - the exchangeendpoint - the destination
public EventObject createExchangeSentEvent(Exchange exchange,
Endpoint endpoint,
long timeTaken)
EventFactoryEventObject when an Exchange has completely been sent to the endpoint (eg after).
createExchangeSentEvent in interface EventFactoryexchange - the exchangeendpoint - the destinationtimeTaken - time in millis taken
public EventObject createCamelContextSuspendingEvent(CamelContext context)
EventFactoryEventObject for Camel is suspending.
createCamelContextSuspendingEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextSuspendedEvent(CamelContext context)
EventFactoryEventObject for Camel has been suspended successfully.
createCamelContextSuspendedEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextResumingEvent(CamelContext context)
EventFactoryEventObject for Camel is resuming.
createCamelContextResumingEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextResumedEvent(CamelContext context)
EventFactoryEventObject for Camel has been resumed successfully.
createCamelContextResumedEvent in interface EventFactorycontext - camel context
public EventObject createCamelContextResumeFailureEvent(CamelContext context,
Throwable cause)
EventFactoryEventObject for Camel failing to resume
createCamelContextResumeFailureEvent in interface EventFactorycontext - camel contextcause - the cause exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||