code: function createSubscriber(broker, configurator) {
      var params;
      if (typeof(broker) === 'function') { //assume it's a configurator function that uses a custom consumer
        configurator = broker;
        broker = null;
      }
      params = getParams(SubscriberConfigurator, configurator);
      if (!params.consumer) {
        params.consumer = Consumer(broker, params.envelope, params.pipeline, params.routeName, params.routePattern, params.logger, events);
      }
      return Subscriber(params.consumer, params.eventDispatcher, params.logger, events);
    }
docs: Creates a new {@link Subscriber}
  
  @param {Broker} broker
  @param {subscriberConfigFunc} configurator - function to customize subscriber configuration (optional)
  @param {Subscriber} a subscriber