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