Exemplo n.º 1
0
 public RedisSagaProcessor(IRedisBus bus)
 {
     _bus = bus;
     //Map messages
     MessageMapper.MapStartMessage <SampleRedisSagaStarterCommand>(m => m.SagaId);
     MessageMapper.MapMessage <SampleRedisSagaCommand>(m => m.SagaId);
 }
Exemplo n.º 2
0
 public void Setup()
 {
     _bus    = new RedisBus(RedisTestBase.Configuration);
     _target = new RedisQueueClient <TestCommand>(RedisTestBase.Database);
 }
 public MessageController(IRedisBus redisBus)
 {
     _redisBus = redisBus;
 }
Exemplo n.º 4
0
 public void Setup()
 {
     _bus    = new RedisBus(RedisTestBase.Configuration);
     _target = new RedisQueueClient <TestCommand>(RedisTestBase.Database, new MicrosoftJsonSerializer());
 }