public void sendReply(InternalDistributedMember recipient, int pId, ReplyException rex,
        ReplySender dm) {
      // Don't respond to distributed-no-ack message.
      if (pId != 0 || (!(dm instanceof DistributionManager)) || directAck) {
        ReplyMessage.send(recipient, pId, rex, dm, !appliedOperation, closed, false,
            isInternal());
      }
    }
Return true if a reply should be sent
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedCacheOperation.java