d the code which you can set the connectionTimeToLive
parameter of PoolingClientConnectionManager from HttpComponent.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-http4-component-throws-Connection-refused-error-tp5726673p5729068.html
Sent from the Camel Developme
ge in context:
http://camel.465427.n5.nabble.com/Camel-http4-component-throws-Connection-refused-error-tp5726673p5727565.html
Sent from the Camel Development mailing list archive at Nabble.com.
t remove from connection pool and 101 route will throw
Connection refused error.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-http4-component-throws-Connection-refused-error-tp5726673p5726758.html
Sent from the Camel Development mailing list archive at Nabble.com.
> > > if (getMaxTotalConnections() > 0) {
> > > answer.setMaxTotal(getMaxTotalConnections());
> > > }
> > > if (getConnectionsPerRoute() > 0) {
> > > answer.setDefaultMaxPerRoute(getConnectionsPerRoute());
> > > }
> > > LOG.info (http://LOG.info)("Created ClientConnectionManager " + answer);
> > >
> > > return answer;
> > > }
> > >
> > > Thanks,
> > > Amit Patel
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > > http://camel.465427.n5.nabble.com/Camel-http4-component-throws-Connection-refused-error-tp5726673.html
> > > Sent from the Camel Development mailing list archive at Nabble.com
> > > (http://Nabble.com).
> >
>
> > answer.setMaxTotal(getMaxTotalConnections());
> > }
> > if (getConnectionsPerRoute() > 0) {
> > answer.setDefaultMaxPerRoute(getConnectionsPerRoute());
> > }
> > LOG.info (http://LOG.info)("Created ClientConnectionManager " + answer);
> >
.setMaxTotal(getMaxTotalConnections());
> }
> if (getConnectionsPerRoute() > 0) {
> answer.setDefaultMaxPerRoute(getConnectionsPerRoute());
> }
> LOG.info (http://LOG.info)("Created ClientConnectionManager " + answer);
>
> return answer;
> }
>
> Thanks,
> Amit Patel
>
>
ectionsPerRoute() > 0) {
answer.setDefaultMaxPerRoute(getConnectionsPerRoute());
}
LOG.info("Created ClientConnectionManager " + answer);
return answer;
}
Thanks,
Amit Patel
--
View this message in context:
http://camel.465427.n5.nabbl