@Override
    void postConfigure(DataForm completedForm) {
        if (!persistPublishedItems) {
            Log.trace("Configuring to always save the last published item when not configured to use persistent items.");
            maxPublishedItems = 1;
        }
        else {
            FormField field = completedForm.getField("pubsub#max_items");
            if (field != null) {
                maxPublishedItems = field.getFirstValue() != null ? Integer.parseInt( field.getFirstValue() ) : 50;
                Log.trace("Configuring {}: {}", field.getVariable(), maxPublishedItems);
            }
        }
    }
The last item published to this node.  In a cluster this may have occurred on a different cluster node.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/LeafNode.java