FutureChannelCreator fcc = peers[0].connectionBean().reservation().create(2, 0);
fcc.awaitUninterruptibly();
cc = fcc.channelCreator();
}
RoutingBuilder routingBuilder = new RoutingBuilder();
if (tcp) {
routingBuilder.forceTCP(true);
}
routingBuilder.locationKey(peers[6].peerID());
routingBuilder.maxDirectHits(0);
routingBuilder.setMaxNoNewInfo(0);
routingBuilder.maxFailures(0);
routingBuilder.maxSuccess(100);
routingBuilder.parallel(2);
FutureRouting fr = peers[0].distributedRouting().route(routingBuilder, request, cc);
// new RoutingBuilder(peers[6].getPeerID(), null, null, 0, 0, 0, 100, 2, false), Type.REQUEST_2, cc);
fr.awaitUninterruptibly();