Beispiel #1
0
 static void SetUp(ServiceBusSettings serviceBusSettings)
 {
     if (Instance == null)
     {
         lock (syncRoot) {
             if (Instance == null)
             {
                 Instance = new InterRoleCommunicator(serviceBusSettings);
             }
         }
     }
 }
Beispiel #2
0
 InterRoleCommunicator(ServiceBusSettings serviceBusSettings)
 {
     ServiceBusSettings = serviceBusSettings;
     Subscribe();
 }
 public ServiceBusSubscriber(ServiceBusSettings serviceBusSettings)
     : base(serviceBusSettings)
 {
     CreateServiceHost();
 }
 public ServiceBusPublisher(ServiceBusSettings serviceBusSettings) : base(serviceBusSettings)
 {
     CreateChannel();
 }
 public ServiceBusBase(ServiceBusSettings serviceBusSettings)
 {
     this.serviceBusSettings = serviceBusSettings;
 }