public void notify(EventObject eventObject) throws Exception { // we only want to notify in case of failures if (eventObject instanceof ExchangeFailedEvent) { notifyFailure((ExchangeFailedEvent) eventObject); } }
public void notify(EventObject eventObject) throws Exception { // we only want to notify in case of failures if (eventObject instanceof ExchangeFailedEvent) { notifyFailure((ExchangeFailedEvent) eventObject); } }