title: How to find all Endpoints of route (Apache Camel, Java)
body: <p>I have several routes and many endpoints in Camel context. So need to get all endpoints created by one Route:</p>
  
  <pre><code>    CamelContext context = new DefaultCamelContext();
      RouteBuilder route1 = new RouteBuilder() {
          public void configure() {
              from("file:data/inbox?noop=true")
                      .routeId("myRoute1")
                      .enrich("http://website.com/file.txt")
                      .to("file:data/outbox")
                      .to("mock:someway");
          }
      };
  
      RouteBuilder route2 = new RouteBuilder() {
          public void configure() {
              from("file:data/outbox?noop=true")
                      .routeId("myRoute2")
                      .to("mock:myMom");
          }
      };
  
      context.addRoutes(route1);
      context.addRoutes(route2);
  
      context.start();
  
      // TODO 
  
      context.stop();
  </code></pre>
  
  <p>And before stop I need get all endpoints which created by myRoute1  ??? for example: </p>
  
  <p>1.file://data/outbox
  2.mock://someway
  3.<a href="http://website.com/file.txt" rel="nofollow noreferrer">http://website.com/file.txt</a>
  4.file://data/inbox?noop=true </p>
  
  <p>I can get only all Endpoints of Camel context as: context.getEndpoints() </p>