public HttpPollingConsumer(HttpEndpoint endpoint) { super(endpoint); this.endpoint = endpoint; this.httpClient = endpoint.createHttpClient(); }
public HttpProducer(HttpEndpoint endpoint) { super(endpoint); this.httpClient = endpoint.createHttpClient(); this.throwException = endpoint.isThrowExceptionOnFailure(); this.transferException = endpoint.isTransferException(); }