public HttpResponseMessage PostJoinBetweenPipeAndFeed(string name, RestMSJoin join)
        {
            var addJoinCommand = new AddJoinToPipeCommand(name, join.Feed, join.Address);
            _commandProcessor.Send(addJoinCommand);

            var retriever = new PipeRetriever(_pipeRepository);
            var item = retriever.Retrieve(new Name(name));
            var response = Request.CreateResponse(HttpStatusCode.Created, item);
            response.Headers.Location = new Uri(item.Href);
            return response;
        }
 public RestMSPipe Get(string name)
 {
     var retriever = new PipeRetriever(_pipeRepository);
     return retriever.Retrieve(new Name(name));
 }