예제 #1
0
 public static void SetDefaultBusSettings(ServiceBusConfigurator sbc)
 {
     sbc.UseMsmq();
     sbc.VerifyMsmqConfiguration();
     sbc.SetCreateTransactionalQueues(true);
     sbc.UseSubscriptionService(Constants.QueueSubscriptions);
     sbc.UseControlBus();
     sbc.SetDefaultTransactionTimeout(TimeSpan.FromSeconds(20));
     sbc.SetConcurrentConsumerLimit(1);
 }