Examples of RouteType


Examples of org.jitterbit.integration.data.entity.operation.flow.RouteType

        OperationFlow flow = controller.getGraph().getModel().getModeledFlow();
        flow.deleteRoute(route);
    }
   
    private UndoableEdit createEdit(Route route) {
        RouteType type = route.getType();
        if (type == RouteType.SIBLING) {
            return createSiblingEdit(route);
        } else if (type == RouteType.SUCCESS || type == RouteType.FAILURE) {
            return createSuccessFailureEdit(route);
        } else {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.flow.RouteType

    private boolean handleOperationActivityDrop(OperationFlowActivity to) {
        boolean success = false;
        Object insertedNode = null;
        if (controller.isChangeAllowed(node)) {
            RouteType routeType = selectRouteType(to);
            if (routeType != null) {
                if (to instanceof Operation) {
                    success = controller.setNextOperation(node, (Operation) to, routeType);
                    insertedNode = controller.getGraph().getModel().getOperationNode((Operation) to);
                } else if (to instanceof EmailMessage) {
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

        QName sourceSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceSource");
        String sourcePort = new String("HTTPSoapPortSource");
        QName destSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceDestination");
        String destPort = new String("HTTPSoapPortDestination");

        RouteType rt =
            RouteTypeUtil.createRouteType("route_0",
                                           sourceSrv, sourcePort,
                                           destSrv, destPort);
        TestProvider tp = new TestProvider(def, rt);
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

        QName sourceSrv = new QName("http://objectweb.org/HWRouter", "HTTPXMLServiceSource");
        String sourcePort = new String("HTTPXMLPortSource");
        QName destSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceDestination");
        String destPort = new String("HTTPSoapPortDestination");

        RouteType rt =
            RouteTypeUtil.createRouteType("normal_route",
                                           sourceSrv, sourcePort,
                                           destSrv, destPort);
       
        TestHandler th = new TestHandler(def, rt);
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

        QName sourceSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceSource");
        String sourcePort = new String("HTTPSoapPortSource");
        QName destSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceDestination");
        String destPort = new String("HTTPSoapPortDestination");

        RouteType rt =
            RouteTypeUtil.createRouteType("route_0",
                                           sourceSrv, sourcePort,
                                           destSrv, destPort);
       
        TestRouter router = new TestRouter(null, def, rt);
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

        QName sourceSrv = new QName("http://objectweb.org/HWRouter", "HTTPXMLServiceSource");
        String sourcePort = new String("HTTPXMLPortSource");
        QName destSrv = new QName("http://objectweb.org/HWRouter", "HTTPSoapServiceDestination");
        String destPort = new String("HTTPSoapPortDestination");

        RouteType rt =
            RouteTypeUtil.createRouteType("route_1",
                                           sourceSrv, sourcePort,
                                           destSrv, destPort);

        ClassLoader loader = new URLClassLoader(new URL[] {srcDir.toURL()}, null);
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

    private void testRouterSourceAndDestination(Definition def,
                                              QName sourceSrv, String sourcePort,
                                              QName destSrv, String destPort,
                                              boolean isSameBinding) {
        RouteType rt =
            RouteTypeUtil.createRouteType("route_0",
                                           sourceSrv, sourcePort,
                                           destSrv, destPort);
       
        TestRouter router = new TestRouter(null, def, rt);
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

    public List<Router> addRoutes(Definition def) {
        List<Router> routerList = new ArrayList<Router>();
        List<ExtensibilityElement> extList = def.getExtensibilityElements();
        for (ExtensibilityElement extEl : extList) {
            if (extEl instanceof RouteType) {
                RouteType rt = (RouteType)extEl;
                if (isValidRoute(def, rt)) {
                    Router router = createRouter(def, rt);
                    router.init();
                    routerList.add(router);
                } else {
                    //throw new WebServiceException(
                    //            new Message("UNSUPPORTED_ROUTE", LOG, rt.getName()).toString());
                    if (LOG.isLoggable(Level.SEVERE)) {
                        LOG.log(Level.SEVERE, "UNSUPPORTED_ROUTE", rt.getName());
                    }
                }
            }
        }
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.RouteType

        DestinationType dt = new DestinationType();
        dt.setPort(destPort);
        dt.setService(destService);

        RouteType rt = new RouteType();
        rt.setName(routeName);

        List<SourceType> sList = rt.getSource();
        sList.add(st);
        List<DestinationType> dList = rt.getDestination();
        dList.add(dt);

        return rt;
    }
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.