bus.sendEvent(new ComponentCreatedEvent(this));
}
private HTTPClientPolicy getClientPolicy(Configuration conf) {
HTTPClientPolicy pol = conf.getObject(HTTPClientPolicy.class, "httpClient");
if (pol == null) {
pol = new HTTPClientPolicy();
}
return pol;
}