public AggregateDispatcher(ITapeStorageFactory factory, IEnvelopeStreamer streamer, string path, QueueWriterRegistry queue)
 {
     _factory = factory;
     _streamer = streamer;
     _path = path;
     _queue = queue;
 }
        QueueWriterRegistry BuildRegistry(IComponentContext c)
        {
            var r = new QueueWriterRegistry();

            foreach (var activator in _activators)
            {
                var factory = activator(c);
                r.Add(factory);
            }
            return r;
        }