Package org.apache.camel.support
Class EventHelper
java.lang.Object
org.apache.camel.support.EventHelper
Helper for easily sending event notifications in a single line of code
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
eventsApplicable
(org.apache.camel.CamelContext context) Checks whether event notifications is applicable or notstatic boolean
notifyCamelContextInitialized
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextInitializing
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextResumed
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextResumeFailed
(org.apache.camel.CamelContext context, Throwable cause) static boolean
notifyCamelContextResuming
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextRoutesStarted
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextRoutesStarting
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextRoutesStopped
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextRoutesStopping
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextStarted
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextStarting
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextStartupFailed
(org.apache.camel.CamelContext context, Throwable cause) static boolean
notifyCamelContextStopFailed
(org.apache.camel.CamelContext context, Throwable cause) static boolean
notifyCamelContextStopped
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextStopping
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextSuspended
(org.apache.camel.CamelContext context) static boolean
notifyCamelContextSuspending
(org.apache.camel.CamelContext context) static boolean
notifyContextReloaded
(org.apache.camel.CamelContext context, Object source) static boolean
notifyContextReloadFailure
(org.apache.camel.CamelContext context, Object source, Throwable cause) static boolean
notifyContextReloading
(org.apache.camel.CamelContext context, Object source) static boolean
notifyExchangeAsyncProcessingStartedEvent
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) static boolean
notifyExchangeCreated
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) static boolean
notifyExchangeDone
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) static boolean
notifyExchangeFailed
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) static boolean
notifyExchangeFailureHandled
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) static boolean
notifyExchangeFailureHandling
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) static boolean
notifyExchangeRedelivery
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, int attempt) static boolean
notifyExchangeSending
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) static boolean
notifyExchangeSent
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint, long timeTaken) static boolean
notifyRouteAdded
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyRouteReloaded
(org.apache.camel.CamelContext context, org.apache.camel.Route route, int index, int total) static boolean
notifyRouteRemoved
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyRouteStarted
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyRouteStarting
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyRouteStopped
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyRouteStopping
(org.apache.camel.CamelContext context, org.apache.camel.Route route) static boolean
notifyServiceStartupFailure
(org.apache.camel.CamelContext context, Object service, Throwable cause) static boolean
notifyServiceStopFailure
(org.apache.camel.CamelContext context, Object service, Throwable cause) static boolean
notifyStepDone
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId) static boolean
notifyStepFailed
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId) static boolean
notifyStepStarted
(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId)
-
Method Details
-
eventsApplicable
public static boolean eventsApplicable(org.apache.camel.CamelContext context) Checks whether event notifications is applicable or not -
notifyCamelContextInitializing
public static boolean notifyCamelContextInitializing(org.apache.camel.CamelContext context) -
notifyCamelContextInitialized
public static boolean notifyCamelContextInitialized(org.apache.camel.CamelContext context) -
notifyCamelContextStarting
public static boolean notifyCamelContextStarting(org.apache.camel.CamelContext context) -
notifyCamelContextStarted
public static boolean notifyCamelContextStarted(org.apache.camel.CamelContext context) -
notifyCamelContextStartupFailed
public static boolean notifyCamelContextStartupFailed(org.apache.camel.CamelContext context, Throwable cause) -
notifyCamelContextStopping
public static boolean notifyCamelContextStopping(org.apache.camel.CamelContext context) -
notifyCamelContextStopped
public static boolean notifyCamelContextStopped(org.apache.camel.CamelContext context) -
notifyCamelContextStopFailed
public static boolean notifyCamelContextStopFailed(org.apache.camel.CamelContext context, Throwable cause) -
notifyServiceStopFailure
-
notifyServiceStartupFailure
-
notifyRouteStarting
public static boolean notifyRouteStarting(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteStarted
public static boolean notifyRouteStarted(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteStopping
public static boolean notifyRouteStopping(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteStopped
public static boolean notifyRouteStopped(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteAdded
public static boolean notifyRouteAdded(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteRemoved
public static boolean notifyRouteRemoved(org.apache.camel.CamelContext context, org.apache.camel.Route route) -
notifyRouteReloaded
public static boolean notifyRouteReloaded(org.apache.camel.CamelContext context, org.apache.camel.Route route, int index, int total) -
notifyContextReloading
-
notifyContextReloaded
-
notifyContextReloadFailure
-
notifyExchangeCreated
public static boolean notifyExchangeCreated(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) -
notifyExchangeDone
public static boolean notifyExchangeDone(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) -
notifyExchangeFailed
public static boolean notifyExchangeFailed(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange) -
notifyExchangeFailureHandling
public static boolean notifyExchangeFailureHandling(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) -
notifyExchangeFailureHandled
public static boolean notifyExchangeFailureHandled(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Processor failureHandler, boolean deadLetterChannel, String deadLetterUri) -
notifyExchangeRedelivery
public static boolean notifyExchangeRedelivery(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, int attempt) -
notifyExchangeSending
public static boolean notifyExchangeSending(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint) -
notifyExchangeSent
public static boolean notifyExchangeSent(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint, long timeTaken) -
notifyCamelContextSuspending
public static boolean notifyCamelContextSuspending(org.apache.camel.CamelContext context) -
notifyCamelContextSuspended
public static boolean notifyCamelContextSuspended(org.apache.camel.CamelContext context) -
notifyCamelContextResuming
public static boolean notifyCamelContextResuming(org.apache.camel.CamelContext context) -
notifyCamelContextResumed
public static boolean notifyCamelContextResumed(org.apache.camel.CamelContext context) -
notifyCamelContextResumeFailed
public static boolean notifyCamelContextResumeFailed(org.apache.camel.CamelContext context, Throwable cause) -
notifyCamelContextRoutesStarting
public static boolean notifyCamelContextRoutesStarting(org.apache.camel.CamelContext context) -
notifyCamelContextRoutesStarted
public static boolean notifyCamelContextRoutesStarted(org.apache.camel.CamelContext context) -
notifyCamelContextRoutesStopping
public static boolean notifyCamelContextRoutesStopping(org.apache.camel.CamelContext context) -
notifyCamelContextRoutesStopped
public static boolean notifyCamelContextRoutesStopped(org.apache.camel.CamelContext context) -
notifyStepStarted
public static boolean notifyStepStarted(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId) -
notifyStepDone
public static boolean notifyStepDone(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId) -
notifyStepFailed
public static boolean notifyStepFailed(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange, String stepId) -
notifyExchangeAsyncProcessingStartedEvent
public static boolean notifyExchangeAsyncProcessingStartedEvent(org.apache.camel.CamelContext context, org.apache.camel.Exchange exchange)
-