Examples of addRoute()


Examples of org.mule.routing.outbound.OutboundPassThroughRouter.addRoute()

        OutboundEndpoint outProvider = muleContext.getEndpointFactory().getOutboundEndpoint(
            endpointBuilder2);
       
        service.setOutboundMessageProcessor(new DefaultOutboundRouterCollection());
        OutboundPassThroughRouter router = new OutboundPassThroughRouter();
        router.addRoute(outProvider);
        ((OutboundRouterCollection) service.getOutboundMessageProcessor()).addRoute(router);
        ((CompositeMessageSource) service.getMessageSource()).addSource(endpoint);

        // these tests no longer work - they need replacing with config driven tests
        // furthemore, nothing is read from service properties any more
View Full Code Here

Examples of org.one.stone.soup.server.http.HttpServer.addRoute()

          XappRootApplication.displayMessage("Server "+name+" not built as HttpAuthenticator failed");
          return null;
        }
      }
     
      server.addRoute(serviceAlias,service,xService.getElementByName("condition"));
    }
   
    return server;
  }
 
View Full Code Here

Examples of org.opentripplanner.routing.core.FareRuleSet.addRoute()

                fareRule.addOriginDestination(origin, destination);
            }
            Route route = rule.getRoute();
            if (route != null) {
                AgencyAndId routeId = route.getId();
                fareRule.addRoute(routeId);
            }
        }
    }

    @Override
View Full Code Here

Examples of org.sonatype.nexus.componentviews.Router.addRoute()

    final ProxyingRawBinariesHandler proxyingWrapper = new ProxyingRawBinariesHandler(binaryStore, sourceName,
        sourceRegistry);
    final HostedRawBinariesHandler hosted = new HostedRawBinariesHandler(binaryStore);

    router.addRoute(binariesRequestMatcher, asList(proxyingWrapper, hosted));

    return new View(config, router, notFoundHandler);
  }
}
View Full Code Here

Examples of org.wso2.carbon.mediators.router.impl.RouterMediator.addRoute()

            } else {
                handleException("Route has to have a target for it, " +
                    "missing the taregt of the route");
            }

            m.addRoute(route);
        }

        return m;
    }
View Full Code Here

Examples of trams.data.Scenario.addRoute()

                List<Service> outgoingServices = route.generateServiceTimetables(getSimulator().getCurrentSimTime(), myScenario, Route.OUTWARDSTOPS);
                List<Service> returnServices = route.generateServiceTimetables(getSimulator().getCurrentSimTime(), myScenario, Route.RETURNSTOPS);
                route.generateRouteSchedules(outgoingServices, returnServices);
                //Add route.
                //theRoutes.add(route);
                myScenario.addRoute(route);
            }
            //Sixthly, get the vehicles and create relevant vehicle objects.
            NodeList vehicleList = (NodeList) xpath.evaluate("//scenario/vehicles/vehicle", document.getDocumentElement(), XPathConstants.NODESET);
            for ( int i = 0; i < vehicleList.getLength(); i++ ) {
                Element thisElem = (Element) vehicleList.item(i);
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.