Package com.senseidb.federated.broker.proxy

Examples of com.senseidb.federated.broker.proxy.GenericBrokerProxy


    // sensei proxy
    PropertiesConfiguration senseiConfiguration = new PropertiesConfiguration(FederatedBrokerIntegrationTest.class.getClassLoader().getResource("conf/sensei.properties"));
    senseiProxy = SenseiBrokerProxy.valueOf(senseiConfiguration, new HashMap<String, String>(), new SenseiJavaSerializer());
    // memory proxy
    GenericBrokerProxy memoryProxy = new GenericBrokerProxy(senseiInMemoryService, new MockDataSource(readCarDocs()));

    // federated broker
    federatedBroker = new FederatedBroker();
    federatedBroker.setProxies(Arrays.asList(new BrokerProxy[]{senseiProxy, memoryProxy}));
    federatedBroker.start();
View Full Code Here

TOP

Related Classes of com.senseidb.federated.broker.proxy.GenericBrokerProxy

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.