예제 #1
0
 protected void SetMessageSource(Microsoft.ServiceBus.Channels.IMessageSource messageSource)
 {
     this.messageSource = new Microsoft.ServiceBus.Channels.SynchronizedMessageSource(messageSource);
 }
예제 #2
0
 public SynchronizedMessageSource(Microsoft.ServiceBus.Channels.IMessageSource source)
 {
     this.source     = source;
     this.sourceLock = new ThreadNeutralSemaphore(1);
 }