Package org.fusesource.ide.camel.model

Examples of org.fusesource.ide.camel.model.RouteContainer.addChild()


  public void testEndpointSummary() throws Exception {
    RouteContainer routeContainer = new RouteContainer();
   
    // from seda:a -> filter -> seda:b
    RouteSupport route1 = new Route();
    routeContainer.addChild(route1);
   
    Endpoint endpoint1 = new Endpoint("seda:a");
    route1.addChild(endpoint1);
   
    Filter filter1 = new Filter();
View Full Code Here


    Endpoint endpoint2 = new Endpoint("seda:b");
    filter1.addTargetNode(endpoint2);

    // from seda:b -> filter -> seda:c
    RouteSupport route2 = new Route();
    routeContainer.addChild(route2);
   
    Endpoint endpoint3 = new Endpoint("seda:b");
    route2.addChild(endpoint3);
   
    Filter filter2 = new Filter();
View Full Code Here

    route1.addChild(bean2);
    route1.addChild(ep1);
    route1.addChild(bean1);

    c.addChild(route1);

    Activator.getLogger().debug("Stub marshaller has loaded model: "
        + c.getDebugInfo());
    return c;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.