if (orig.equals(agentId)) {
/*if (orig.equals(agentId)) {
  private void publishHealthMonitorMove(String communityName) {    HealthMonitorRequest hmr =          new HealthMonitorRequestImpl(agentId,          communityName,          HealthMonitorRequest.MOVE,          new String[]{mobileAgent},          origNode,          destNode,          uidService.nextUID());      MessageAddress target = MessageAddress.getMessageAddress(destNode);      MessageAddress orig = MessageAddress.getMessageAddress(origNode);      if (orig.equals(agentId)) {        if (log.isInfoEnabled()) {          log.info("Publishing HealthMonitorRequest: " + hmr.getRequestTypeAsString());        }        try {          bb.openTransaction();          bb.publishAdd(hmr);        } finally {          bb.closeTransactionDontReset();        }      } else {        // send to remote agent using Relay        RelayAdapter hmrRa =            new RelayAdapter(agentId, hmr, hmr.getUID());        hmrRa.addTarget(orig);        if (log.isInfoEnabled()) {          log.info("Publishing HealthMonitorRequest Relay:" +                   " target=" + hmrRa.getTargets() + " " +                   hmr.getRequestTypeAsString());        }        try {          bb.openTransaction();          bb.publishAdd(hmrRa);        } finally {          bb.closeTransactionDontReset();        }      }  }