public ServiceBusConfiguration()
 {
     WorkerAvailabilityManager = new WorkerAvailabilityManager();
     Modules                 = new ModuleCollection();
     TransactionScope        = new TransactionScopeConfiguration();
     QueueManager            = new QueueManager();
     Serializer              = new DefaultSerializer();
     MessageHandlerFactory   = new DefaultMessageHandlerFactory();
     MessageRouteProvider    = new DefaultMessageRouteProvider();
     PipelineFactory         = new DefaultPipelineFactory();
     TransactionScopeFactory = new DefaultTransactionScopeFactory();
     Policy = new DefaultServiceBusPolicy();
     ThreadActivityFactory = new DefaultThreadActivityFactory();
 }
예제 #2
0
 public ServiceBusConfiguration()
 {
     WorkerAvailabilityManager = new WorkerAvailabilityManager();
     Modules = new ModuleCollection();
     TransactionScope = new TransactionScopeConfiguration();
     QueueManager = Core.QueueManager.Default();
     Serializer = new DefaultSerializer();
     MessageHandlerFactory = new DefaultMessageHandlerFactory();
     MessageRouteProvider = new DefaultMessageRouteProvider();
     ForwardingRouteProvider = new DefaultForwardingRouteProvider();
     PipelineFactory = new DefaultPipelineFactory();
     TransactionScopeFactory = new DefaultTransactionScopeFactory();
     Policy = new DefaultServiceBusPolicy();
     ThreadActivityFactory = new DefaultThreadActivityFactory();
 }