FilteredEventIterator eventIter = new FilteredEventIterator(
eventBundle.getEvents(), eventBundle.isLocal(), filter,
resolver, wspManager.getIdFactory());
if (eventIter.hasNext()) {
try {
listener.onEvent(eventIter);
} catch (Throwable t) {
log.warn("EventConsumer threw exception: " + t.toString());
log.debug("Stacktrace: ", t);
// move on to the next listener
}