Package org.switchyard.remote.cluster

Examples of org.switchyard.remote.cluster.ClusteredInvoker


            };
        };
       
        // Mock the invoker so that we don't need an actual remote endpoint
        final LinkedList<RemoteMessage> msgs = new LinkedList<RemoteMessage>();
        ClusteredInvoker clInovker = new ClusteredInvoker(null) {
            @Override
            public RemoteMessage invoke(RemoteMessage request) throws IOException {
                msgs.push(request);
                return null;
            }
View Full Code Here


     */
    public SCAInvoker(SCABindingModel config, RemoteRegistry registry) {
        this(config);
        if (config.isLoadBalanced()) {
            LoadBalanceStrategy loadBalancer = createLoadBalancer(config.getLoadBalance());
            _invoker = new ClusteredInvoker(registry, loadBalancer);
        } else {
            _invoker = new ClusteredInvoker(registry);
        }
    }
View Full Code Here

TOP

Related Classes of org.switchyard.remote.cluster.ClusteredInvoker

Copyright © 2018 www.massapicom. 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.