code: function createConsumer(broker, configurator) {
      var params = getParams(ConsumerConfigurator, configurator);
      return Consumer(broker, params.envelope, params.pipeline, params.routeName, params.routePattern, params.logger, events);
    }
docs: Creates a new {@link Consumer}
  
  @param {Broker} broker
  @param {consumerConfigFunc} configurator - function to customize consumer configuration (optional)
  @returns {Consumer} a consumer