public RedisDeadLetterOffice(Func<IDatabase> databaseFunc, IPathFactory pathFactory, ISerializer serializer)
 {
     _databaseFunc = databaseFunc;
     _serializer = serializer;
     _deadLetterOfficeRedisKey = pathFactory.DeadLetterOfficePath();
 }
Beispiel #2
0
 public Task <IMessageSender> CreateDeadQueueMessageSender()
 {
     return(CreateMessageSender(_pathFactory.DeadLetterOfficePath()));
 }
Beispiel #3
0
 public RedisDeadLetterOffice(Func <IDatabase> databaseFunc, IPathFactory pathFactory, ISerializer serializer)
 {
     _databaseFunc             = databaseFunc;
     _serializer               = serializer;
     _deadLetterOfficeRedisKey = pathFactory.DeadLetterOfficePath();
 }