// 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();