public interface EventNotifier
events
.EventFactory
Modifier and Type | Method and Description |
---|---|
boolean |
isDisabled()
Checks whether notification is disabled for all events
|
boolean |
isEnabled(CamelEvent event)
Checks whether notification for the given event is enabled.
|
boolean |
isIgnoreCamelContextEvents() |
boolean |
isIgnoreExchangeCompletedEvent() |
boolean |
isIgnoreExchangeCreatedEvent() |
boolean |
isIgnoreExchangeEvents() |
boolean |
isIgnoreExchangeFailedEvents() |
boolean |
isIgnoreExchangeRedeliveryEvents() |
boolean |
isIgnoreExchangeSendingEvents() |
boolean |
isIgnoreExchangeSentEvents() |
boolean |
isIgnoreRouteEvents() |
boolean |
isIgnoreServiceEvents() |
boolean |
isIgnoreStepEvents() |
void |
notify(CamelEvent event)
Notifies the given event
|
void |
setIgnoreCamelContextEvents(boolean ignoreCamelContextEvents) |
void |
setIgnoreExchangeCompletedEvent(boolean ignoreExchangeCompletedEvent) |
void |
setIgnoreExchangeCreatedEvent(boolean ignoreExchangeCreatedEvent) |
void |
setIgnoreExchangeEvents(boolean ignoreExchangeEvents) |
void |
setIgnoreExchangeFailedEvents(boolean ignoreExchangeFailureEvents) |
void |
setIgnoreExchangeRedeliveryEvents(boolean ignoreExchangeRedeliveryEvents) |
void |
setIgnoreExchangeSendingEvents(boolean ignoreExchangeSendingEvents) |
void |
setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents) |
void |
setIgnoreRouteEvents(boolean ignoreRouteEvents) |
void |
setIgnoreServiceEvents(boolean ignoreServiceEvents) |
void |
setIgnoreStepEvents(boolean ignoreStepEvents) |
void notify(CamelEvent event) throws Exception
event
- the eventException
- can be thrown if notification failedboolean isEnabled(CamelEvent event)
event
- the eventboolean isDisabled()
boolean isIgnoreCamelContextEvents()
void setIgnoreCamelContextEvents(boolean ignoreCamelContextEvents)
boolean isIgnoreRouteEvents()
void setIgnoreRouteEvents(boolean ignoreRouteEvents)
boolean isIgnoreServiceEvents()
void setIgnoreServiceEvents(boolean ignoreServiceEvents)
boolean isIgnoreExchangeEvents()
void setIgnoreExchangeEvents(boolean ignoreExchangeEvents)
boolean isIgnoreExchangeCreatedEvent()
void setIgnoreExchangeCreatedEvent(boolean ignoreExchangeCreatedEvent)
boolean isIgnoreExchangeCompletedEvent()
void setIgnoreExchangeCompletedEvent(boolean ignoreExchangeCompletedEvent)
boolean isIgnoreExchangeFailedEvents()
void setIgnoreExchangeFailedEvents(boolean ignoreExchangeFailureEvents)
boolean isIgnoreExchangeRedeliveryEvents()
void setIgnoreExchangeRedeliveryEvents(boolean ignoreExchangeRedeliveryEvents)
boolean isIgnoreExchangeSentEvents()
void setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents)
boolean isIgnoreExchangeSendingEvents()
void setIgnoreExchangeSendingEvents(boolean ignoreExchangeSendingEvents)
boolean isIgnoreStepEvents()
void setIgnoreStepEvents(boolean ignoreStepEvents)
Apache Camel