@Override
    public void broadcast(Node node, Message message, Collection<JID> jids) {
        // TODO Possibly use a thread pool for sending packets (based on the jids size)
        message.setFrom(getAddress());
        for (JID jid : jids) {
            message.setTo(jid);
            message.setID(StringUtils.randomString(8));
            router.route(message);
        }
    }
Returns true if the service is available. Use {@link #setServiceEnabled(boolean)} to
enable or disable the service.

@return true if the MUC service is available.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/PubSubModule.java