private void ReceivedRegisterProcessor(MediationMessage.RegisterProcessor message) { if (!this.processors.ContainsKey(message.Operation)) { this.processors[message.Operation] = new List <IActorRef>(); } this.processors[message.Operation].Add(message.Processor); }
private void ReceivedRegisterProcessor(MediationMessage.RegisterProcessor message) { log.Info($"Registering processor for op '{message.Operation}': {message.Processor.Path.ToStringWithoutAddress()}"); this.registeredProcessors.Add(message); if (!this.subscriber.IsNobody()) { this.registeredProcessors.ForEach(this.subscriber.Tell); } }
private void ReceivedRegisterProcessor(MediationMessage.RegisterProcessor message) { log.Info($"Registering processor for op '{message.Operation}': {message.Processor.Path.ToStringWithoutAddress()}"); this.registeredProcessors.Add(message); }