public MessageSequenceBuilder(IBusClient <TMessageContext> busClient, IMessageChainTopologyUtil chainTopology, IMessageChainDispatcher dispatcher, IMessageSequenceRepository repository, RawRabbitConfiguration mainCfg)
 {
     _busClient     = busClient;
     _chainTopology = chainTopology;
     _dispatcher    = dispatcher;
     _repository    = repository;
     _mainCfg       = mainCfg;
 }
 public MessageChainTopologyUtil(
     IChannelFactory channelFactory,
     ITopologyProvider topologyProvider,
     IConfigurationEvaluator configEvaluator,
     IMessageSerializer serializer,
     IMessageContextProvider <TMessageContext> contextProvider,
     IMessageChainDispatcher messageDispatcher,
     QueueConfiguration queueConfig)
 {
     _channelFactory    = channelFactory;
     _topologyProvider  = topologyProvider;
     _configEvaluator   = configEvaluator;
     _queueConfig       = queueConfig;
     _messageDispatcher = messageDispatcher;
     _contextProvider   = contextProvider;
     _serializer        = serializer;
     InitializeConsumer();
 }