@Deprecated(forRemoval = true, since = "5.0.0") // Remove in or after Openfire 5.1.0    @Override
    public boolean isAnonymousRoute(JID jid) {
        if (jid.getNode() == null || jid.getResource() == null) {
            Log.trace("isAnonymousRoute() invoked with a JID that's not a full JID: {}", jid);
            return false;
        }
        return server.getSessionManager().isAnonymousClientSession(jid);
    }
Gets the non-negative session from a minimal priority.

@param sessions The sessions.
@param min      The minimal priority.
@return The filtered sessions.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/RoutingTableImpl.java