code: @Override
    public void activateOptions() throws FlumeException {
      try {
        final Properties properties = getProperties(hosts, selector, maxBackoff);
        rpcClient = RpcClientFactory.getInstance(properties);
      } catch (FlumeException e) {
        String errormsg = "RPC client creation failed! " + e.getMessage();
        LogLog.error(errormsg);
        throw e;
      }
    }
docs: Activate the options set using <tt>setHosts()</tt>, <tt>setSelector</tt>
  and <tt>setMaxBackoff</tt>
  
  @throws FlumeException
  if the LoadBalancingRpcClient cannot be instantiated.