public JMXConsumerManager(Map<String, String> configuration, ServiceManager manager)
      throws Exception {
    super();
    if (configuration == null)
      throw new IllegalArgumentException(
          "Unable to build the " + JMXConsumerManager.class + " using a null configuration");

    this.configuration = configuration;

    this.manager = manager;

    this.uuid = manager.createConsumer(configuration);
  }