public void setSubscriptionEnabled(boolean subscriptionEnabled) {
        this.subscriptionEnabled = subscriptionEnabled;
    }
Sets if subscribing and unsubscribing are enabled.

@param subscriptionEnabled true if subscribing and unsubscribing are enabled.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.java