public interface EventNotifier
events
.EventFactory
Modifier and Type | Method and Description |
---|---|
boolean |
isDisabled()
Checks whether notification is disabled for all events
|
boolean |
isEnabled(EventObject 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() |
void |
notify(EventObject 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 notify(EventObject event) throws Exception
event
- the eventException
- can be thrown if notification failedboolean isEnabled(EventObject 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)
Apache Camel