if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " :  "DOES NOT accept ") + "the message"); }
if (trace) { log.trace("message selector " + (accept ? "accepts " :  "DOES NOT accept ") + "the message"); }
   public boolean accept(Routable r)   {      boolean accept = true;      if (messageSelector != null)      {         accept = messageSelector.accept(r);                  if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " :  "DOES NOT accept ") + "the message"); }      }            if (accept)      {         if (noLocal)         {            String conId = ((JBossMessage)r).getConnectionID();            if (log.isTraceEnabled()) { log.trace("message connection id: " + conId); }            if (conId != null)            {               if (log.isTraceEnabled()) { log.trace("current connection connection id: " + sessionEndpoint.connectionEndpoint.connectionID); }               accept = !conId.equals(sessionEndpoint.connectionEndpoint.connectionID);               if (log.isTraceEnabled()) { log.trace("accepting? " + accept); }            }         }      }      return accept;   }