code: public boolean matches( Message message ) throws JMSException
      {
          Boolean result = selectorTree != null ? selectorTree.evaluateBoolean(message) : null;
          return result != null && result.booleanValue();
      }
docs: Test the selector against a given message