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