org.apache.camel.util
Class EventHelper
java.lang.Object
org.apache.camel.util.EventHelper
public final class EventHelper
- extends java.lang.Object
Helper for easily sending event notifications in a single line of code
- Version:
Method Summary |
static void |
notifyCamelContextResumed(CamelContext context)
|
static void |
notifyCamelContextResumeFailed(CamelContext context,
java.lang.Throwable cause)
|
static void |
notifyCamelContextResuming(CamelContext context)
|
static void |
notifyCamelContextStarted(CamelContext context)
|
static void |
notifyCamelContextStarting(CamelContext context)
|
static void |
notifyCamelContextStartupFailed(CamelContext context,
java.lang.Throwable cause)
|
static void |
notifyCamelContextStopFailed(CamelContext context,
java.lang.Throwable cause)
|
static void |
notifyCamelContextStopped(CamelContext context)
|
static void |
notifyCamelContextStopping(CamelContext context)
|
static void |
notifyCamelContextSuspended(CamelContext context)
|
static void |
notifyCamelContextSuspending(CamelContext context)
|
static void |
notifyExchangeCreated(CamelContext context,
Exchange exchange)
|
static void |
notifyExchangeDone(CamelContext context,
Exchange exchange)
|
static void |
notifyExchangeFailed(CamelContext context,
Exchange exchange)
|
static void |
notifyExchangeFailureHandled(CamelContext context,
Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel)
|
static void |
notifyExchangeRedelivery(CamelContext context,
Exchange exchange,
int attempt)
|
static void |
notifyExchangeSent(CamelContext context,
Exchange exchange,
Endpoint endpoint,
long timeTaken)
|
static void |
notifyRouteStarted(CamelContext context,
Route route)
|
static void |
notifyRouteStopped(CamelContext context,
Route route)
|
static void |
notifyServiceStartupFailure(CamelContext context,
java.lang.Object service,
java.lang.Throwable cause)
|
static void |
notifyServiceStopFailure(CamelContext context,
java.lang.Object service,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifyCamelContextStarting
public static void notifyCamelContextStarting(CamelContext context)
notifyCamelContextStarted
public static void notifyCamelContextStarted(CamelContext context)
notifyCamelContextStartupFailed
public static void notifyCamelContextStartupFailed(CamelContext context,
java.lang.Throwable cause)
notifyCamelContextStopping
public static void notifyCamelContextStopping(CamelContext context)
notifyCamelContextStopped
public static void notifyCamelContextStopped(CamelContext context)
notifyCamelContextStopFailed
public static void notifyCamelContextStopFailed(CamelContext context,
java.lang.Throwable cause)
notifyServiceStopFailure
public static void notifyServiceStopFailure(CamelContext context,
java.lang.Object service,
java.lang.Throwable cause)
notifyServiceStartupFailure
public static void notifyServiceStartupFailure(CamelContext context,
java.lang.Object service,
java.lang.Throwable cause)
notifyRouteStarted
public static void notifyRouteStarted(CamelContext context,
Route route)
notifyRouteStopped
public static void notifyRouteStopped(CamelContext context,
Route route)
notifyExchangeCreated
public static void notifyExchangeCreated(CamelContext context,
Exchange exchange)
notifyExchangeDone
public static void notifyExchangeDone(CamelContext context,
Exchange exchange)
notifyExchangeFailed
public static void notifyExchangeFailed(CamelContext context,
Exchange exchange)
notifyExchangeFailureHandled
public static void notifyExchangeFailureHandled(CamelContext context,
Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel)
notifyExchangeRedelivery
public static void notifyExchangeRedelivery(CamelContext context,
Exchange exchange,
int attempt)
notifyExchangeSent
public static void notifyExchangeSent(CamelContext context,
Exchange exchange,
Endpoint endpoint,
long timeTaken)
notifyCamelContextSuspending
public static void notifyCamelContextSuspending(CamelContext context)
notifyCamelContextSuspended
public static void notifyCamelContextSuspended(CamelContext context)
notifyCamelContextResuming
public static void notifyCamelContextResuming(CamelContext context)
notifyCamelContextResumed
public static void notifyCamelContextResumed(CamelContext context)
notifyCamelContextResumeFailed
public static void notifyCamelContextResumeFailed(CamelContext context,
java.lang.Throwable cause)
Apache CAMEL