void setMessageFlags(Message<ID> gfmsg, org.jgroups.Message msg) {
    // Bundling is mostly only useful if we're doing no-ack work,
    // which is fairly rare
    msg.setFlag(Flag.DONT_BUNDLE);

    if (gfmsg.isHighPriority()) {
      msg.setFlag(Flag.OOB);
      msg.setFlag(Flag.NO_FC);
      msg.setFlag(Flag.SKIP_BARRIER);
    }

    msg.setTransientFlag(org.jgroups.Message.TransientFlag.DONT_LOOPBACK);
  }
This is the constructor to use to create a JGroups message holding a GemFire
DistributionMessage. It sets the appropriate flags in the Message and properly serializes the
DistributionMessage for the recipient's product version

@param gfmsg the DistributionMessage
@param src the sender address
@param versionOrdinal the version of the recipient
@return the new message
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/messenger/JGroupsMessenger.java