Exemplo n.º 1
0
 public void Config(IComponentContext container, ServiceBusConfigurator busConfig)
 {
     busConfig.UseMsmq();
     busConfig.UseMulticastSubscriptionClient();
     busConfig.VerifyMsmqConfiguration();
     busConfig.VerifyMsDtcConfiguration();
     busConfig.ReceiveFrom(receiveFromEndPoint);
 }
Exemplo n.º 2
0
 public void Config(IComponentContext container, ServiceBusConfigurator busConfig)
 {
     busConfig.UseMsmq();
     busConfig.UseMulticastSubscriptionClient();
     busConfig.VerifyMsmqConfiguration();
     busConfig.VerifyMsDtcConfiguration();
     busConfig.ReceiveFrom(receiveFromEndPoint);
 }
Exemplo n.º 3
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);
 }