public virtual IActionResult PostEventToEndpointByUrlPart([FromRoute] string urlPart)
        {
            if (!EndpointManager.Exists(urlPart))
            {
                Console.WriteLine($"Received message for unknown Endpoint Url: {urlPart}");

                // assume this endpoint has been removed
                return(StatusCode((int)HttpStatusCode.Gone));
            }

            Console.WriteLine($"Received message for Endpoint: {urlPart}");

            using (StreamReader reader = new StreamReader(Request.Body))
            {
                string content = reader.ReadToEnd();

                EndpointManager.QueueMessage(urlPart, content);
            }

            return(StatusCode((int)HttpStatusCode.NoContent));
        }