public SampleService(IConsumer messageCommandConsumer, IPublisher publisher, TopologyBootstrapper topologyBootstrapper)
 {
     _messageCommandConsumer = messageCommandConsumer;
     _publisher = publisher;
     _topologyBootstrapper = topologyBootstrapper;
     _stopped = false;
 }
Beispiel #2
0
 public SampleService(IConsumer messageCommandConsumer, IPublisher publisher, TopologyBootstrapper topologyBootstrapper, ContentType contentType)
 {
     _messageCommandConsumer = messageCommandConsumer;
     _publisher            = publisher;
     _topologyBootstrapper = topologyBootstrapper;
     _stopped     = false;
     _contentType = contentType.Type;
 }