public void QueueMonitorGroupClosed(QueueMonitorGroup qmg) { lock (this.thisLock) { this.groups.Remove(qmg.ListenerChannelContext.ListenerChannelId); } }
public QueueMonitor(Uri uri, QueueMonitorGroup group) { // The defaults don't really matter here - we don't use // the buffer manager. this.group = group; this.queueName = MsmqFormatName.ToSystemMessagingQueueName(MsmqUri.UriToFormatNameByScheme(uri)); this.peeking = false; Debug.Print("opening queue: " + this.queueName); }
public IActivatedMessageQueue CreateQueue(ListenerAdapter la, App app) { QueueMonitorGroup qmg = new QueueMonitorGroup(this, la, app); lock (this.thisLock) { this.groups[qmg.ListenerChannelContext.ListenerChannelId] = qmg; } return(qmg); }
public ActivationBindingFilter(QueueMonitorGroup group, string path) : base(path, MsmqUri.NetMsmqAddressTranslator) { this.group = group; }
public IActivatedMessageQueue CreateQueue(ListenerAdapter la, App app) { QueueMonitorGroup qmg = new QueueMonitorGroup(this, la, app); lock (this.thisLock) { this.groups[qmg.ListenerChannelContext.ListenerChannelId] = qmg; } return qmg; }