Esempio n. 1
0
 public MessageQueueTransport(
     Func <IReceiveMessages> receiverFactory, ISendToEndpoints sender, int maxThreads)
 {
     this.receiverFactory = receiverFactory;
     this.sender          = sender;
     this.maxThreads      = maxThreads;
 }
 public PoisonMessageHandler(ISendToEndpoints poisonQueue, Uri poisonMessageQueue, int maxRetries, Action<EnvelopeMessage> postHandlingAction)
 {
     this.poisonQueue = poisonQueue;
     this.maxRetries = maxRetries;
     this.PoisonMessageQueue = poisonMessageQueue;
     this.postHandlingAction = postHandlingAction;
 }
Esempio n. 3
0
 public PoisonMessageHandler(ISendToEndpoints poisonQueue, Uri poisonMessageQueue, int maxRetries, Action <EnvelopeMessage> postHandlingAction)
 {
     this.poisonQueue        = poisonQueue;
     this.maxRetries         = maxRetries;
     this.PoisonMessageQueue = poisonMessageQueue;
     this.postHandlingAction = postHandlingAction;
 }
 public PoisonMessageHandler(ISendToEndpoints poisonQueue, int maxRetries)
 {
     this.poisonQueue = poisonQueue;
     this.maxRetries = maxRetries;
 }