public void setType(OfflineMessageStrategy.Type type) {
        if (type == null) {
            throw new IllegalArgumentException();
        }
        OfflineMessageStrategy.type = type;
        JiveGlobals.setProperty("xmpp.offline.type", type.toString());
    }
Controls what is done with offline messages.

@author Iain Shigeoka
xmppserver/src/main/java/org/jivesoftware/openfire/OfflineMessageStrategy.java