private Task ProcessGet(string messageHandlerName, IMessagePipeline pipeline) { var messageHandler = this.messageHandlerContainer.GetMessageHandler(messageHandlerName); var message = messageHandler.ReceiveMessageOrNull(); if (message != null) { return(pipeline.SendMessage(message)); } return(Task.CompletedTask); }