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 .