}
}
);
return lifecycle.addMaybeStartManagedInstance(
new HttpClient(
<BUG>new ResourcePool<String, ChannelFuture>(
new ChannelResourceFactory(createBootstrap(lifecycle, timer), config.getSslContext(), timer, -1),
new ResourcePoolConfig(config.getNumConnections())</BUG>
)
).withTimer(timer).withReadTimeout(config.getReadTimeout())

}
@Override
public void stop()
{
timer.stop();
}
}
