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(); }
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(); }