private void LookupWorkflowMessageHandler(LookupWorkflowMessage message) { IActorRef actorRef = LookupWorkflow(message.WorkflowKey, message.WorkflowVersion); if (actorRef == ActorRefs.Nobody) { Sender.Tell(new LookupWorkflowFailedMessage(message)); } else { Sender.Tell(new LookupWorkflowSucceededMessage(message, actorRef)); } }
private void LookupWorkflowMessageHandler(LookupWorkflowMessage message) { IActorRef actorRef = LookupModule(message.ModuleKey, message.ModuleVersion); if (actorRef == ActorRefs.Nobody) { Sender.Tell(new LookupWorkflowFailedMessage(message)); } else { actorRef.Forward(message); } }