public void setRemoveFromQueueOnException(boolean removeFromQueueOnException) {
    this.removeFromQueueOnException = removeFromQueueOnException;
  }
@param removeFromQueueOnException the removeFromQueueOnException to set
geode-core/src/main/java/org/apache/geode/internal/cache/wan/AbstractGatewaySender.java