Class EventHelper

java.lang.Object
org.apache.camel.support.EventHelper

public final class EventHelper extends Object
Helper for easily sending event notifications in a single line of code
  • 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

      public static boolean notifyServiceStopFailure(org.apache.camel.CamelContext context, Object service, Throwable cause)
    • notifyServiceStartupFailure

      public static boolean notifyServiceStartupFailure(org.apache.camel.CamelContext context, Object service, Throwable cause)
    • 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

      public static boolean notifyContextReloading(org.apache.camel.CamelContext context, Object source)
    • notifyContextReloaded

      public static boolean notifyContextReloaded(org.apache.camel.CamelContext context, Object source)
    • notifyContextReloadFailure

      public static boolean notifyContextReloadFailure(org.apache.camel.CamelContext context, Object source, Throwable cause)
    • 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)