public void setPresenceBasedDelivery(boolean presenceBasedDelivery) {
        this.presenceBasedDelivery = presenceBasedDelivery;
    }
Sets if notifications are going to be delivered only to available users.

@param presenceBasedDelivery true if notifications are going to be delivered only to
       available users.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.java