public void setMaxConnections(int maxConnections) {
        this.maxConnections = maxConnections;
        saveProperties();
    }
Sets the maximum number of connections that the pool will use. The
actual number of connections in the pool will vary between this value
and the minimum based on the current load.

@param maxConnections the max possible number of connections in the pool.
xmppserver/src/main/java/org/jivesoftware/database/DefaultConnectionProvider.java