@Override
  public InternalDistributedMember getMemberToMasqueradeAs() {
    if (txMemberId == null) {
      return getSender();
    }
    return txMemberId;
  }
Copy constructor that initializes the fields declared in this class
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/PartitionMessage.java