final FutureTask futureTask = new FutureTask();
futureChannelCreator.addListener(new BaseFutureAdapter<FutureChannelCreator>() {
@Override
public void operationComplete(FutureChannelCreator future) throws Exception {
if (future.isSuccess()) {
final ChannelCreator channelCreator = future.getChannelCreator();
// routing, find close peers
final FutureRouting futureRouting = createRouting(locationKey, null, null, routingConfiguration,
requestP2PConfiguration, Type.REQUEST_4, channelCreator);
futureRouting.addListener(new BaseFutureAdapter<FutureRouting>() {
@Override