aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java
public ChannelUriStringBuilder controlMode(final String controlMode)
    {
        if (null != controlMode &&
            !controlMode.equals(CommonContext.MDC_CONTROL_MODE_MANUAL) &&
            !controlMode.equals(CommonContext.MDC_CONTROL_MODE_DYNAMIC))
        {
            throw new IllegalArgumentException("invalid control mode: " + controlMode);
        }

        this.controlMode = controlMode;
        return this;
    }
public ChannelUriStringBuilder controlMode(final String controlMode)
    {
        if (null != controlMode &&
            !controlMode.equals(CommonContext.MDC_CONTROL_MODE_MANUAL) &&
            !controlMode.equals(CommonContext.MDC_CONTROL_MODE_DYNAMIC))
        {
            throw new IllegalArgumentException("invalid control mode: " + controlMode);
        }

        this.controlMode = controlMode;
        return this;
    }
Set the control mode for multi-destination-cast. Set to "manual" for allowing control from the publication API.

@param controlMode for taking control of MDC.
@return this for a fluent API.
@see Publication#addDestination(String)
@see Publication#removeDestination(String)
@see CommonContext#MDC_CONTROL_MODE_PARAM_NAME
@see CommonContext#MDC_CONTROL_MODE_MANUAL
@see CommonContext#MDC_CONTROL_MODE_DYNAMIC