protected override TransportReceivingConfigurationResult ConfigureForReceiving(TransportReceivingConfigurationContext context)
 {
     return new TransportReceivingConfigurationResult(
         () => new YourMessagePump(),
         () => new YourQueueCreator(),
         () => Task.FromResult(StartupCheckResult.Success));
 }
 protected override TransportReceivingConfigurationResult ConfigureForReceiving(TransportReceivingConfigurationContext context)
 {
     return(new TransportReceivingConfigurationResult(
                () => new YourMessagePump(),
                () => new YourQueueCreator(),
                () => Task.FromResult(StartupCheckResult.Success)));
 }
 protected override TransportReceivingConfigurationResult ConfigureForReceiving(TransportReceivingConfigurationContext context)
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 protected override TransportReceivingConfigurationResult ConfigureForReceiving(TransportReceivingConfigurationContext context)
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 protected override void ConfigureForReceiving(TransportReceivingConfigurationContext context)
 {
     context.SetQueueCreatorFactory(() => new QueueCreator());
     context.SetMessagePumpFactory(c => new PushMessages(context.Settings.EndpointInstanceName().EndpointName));
 }