org.apache.camel.spi
Interface EventNotifier

All Known Implementing Classes:
EventNotifierSupport, JmxNotificationEventNotifier, LoggingEventNotifier, NagiosEventNotifier, PublishEventNotifier

public interface EventNotifier

Notifier to send events.

Version:
$Revision: 20312 $
See Also:
EventFactory

Method Summary
 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 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 setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents)
           
 void setIgnoreRouteEvents(boolean ignoreRouteEvents)
           
 void setIgnoreServiceEvents(boolean ignoreServiceEvents)
           
 

Method Detail

notify

void notify(EventObject event)
            throws Exception
Notifies the given event

Parameters:
event - the event
Throws:
Exception - can be thrown if notification failed

isEnabled

boolean isEnabled(EventObject event)
Checks whether notification for the given event is enabled.

If disabled the event will not be sent and silently ignored instead.

Parameters:
event - the event
Returns:
true if the event should be sent, false to silently ignore it

isIgnoreCamelContextEvents

boolean isIgnoreCamelContextEvents()

setIgnoreCamelContextEvents

void setIgnoreCamelContextEvents(boolean ignoreCamelContextEvents)

isIgnoreRouteEvents

boolean isIgnoreRouteEvents()

setIgnoreRouteEvents

void setIgnoreRouteEvents(boolean ignoreRouteEvents)

isIgnoreServiceEvents

boolean isIgnoreServiceEvents()

setIgnoreServiceEvents

void setIgnoreServiceEvents(boolean ignoreServiceEvents)

isIgnoreExchangeEvents

boolean isIgnoreExchangeEvents()

setIgnoreExchangeEvents

void setIgnoreExchangeEvents(boolean ignoreExchangeEvents)

isIgnoreExchangeCreatedEvent

boolean isIgnoreExchangeCreatedEvent()

setIgnoreExchangeCreatedEvent

void setIgnoreExchangeCreatedEvent(boolean ignoreExchangeCreatedEvent)

isIgnoreExchangeCompletedEvent

boolean isIgnoreExchangeCompletedEvent()

setIgnoreExchangeCompletedEvent

void setIgnoreExchangeCompletedEvent(boolean ignoreExchangeCompletedEvent)

isIgnoreExchangeFailedEvents

boolean isIgnoreExchangeFailedEvents()

setIgnoreExchangeFailedEvents

void setIgnoreExchangeFailedEvents(boolean ignoreExchangeFailureEvents)

isIgnoreExchangeRedeliveryEvents

boolean isIgnoreExchangeRedeliveryEvents()

setIgnoreExchangeRedeliveryEvents

void setIgnoreExchangeRedeliveryEvents(boolean ignoreExchangeRedeliveryEvents)

isIgnoreExchangeSentEvents

boolean isIgnoreExchangeSentEvents()

setIgnoreExchangeSentEvents

void setIgnoreExchangeSentEvents(boolean ignoreExchangeSentEvents)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.