public void sendEventData()

in modules/core/src/main/java/org/apache/savan/eventing/subscribers/EventingSubscriber.java [107:122]


    public void sendEventData(OMElement eventData) throws SavanException {

        Date date = new Date();
        boolean expired = false;
        if (subscriptionEndingTime != null && date.after(subscriptionEndingTime))
            expired = true;

        if (expired) {
            String message = "Cant notify the listener since the subscription has been expired";
            throw new SavanException(message);
        }

        if (doesEventDataBelongToTheFilter(eventData)) {
            sendThePublication(eventData);
        }
    }