Hi There is a faster one here http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
On Thu, Jun 25, 2015 at 2:04 PM, Emmanouil Gkatziouras <gkatzio...@gmail.com> wrote: > Greetings > > I had success on creating a camel http proxy that receives data from a > tomcat > servlet (using http://camel.apache.org/servlet-tomcat-example.html) > <http://camel.apache.org/servlet-tomcat-example.html>and redirects the > request to another url. > > I am concerned about the throughput and the configurations that should be > applied. > > Considering the fact that a servlet is called by many threads, in order to > create the proxy I changed the http client configuration and replaced the > the BasicHttpClientConnectionManager (which is thread safe), with the > PoolingClientConnectionManager. However throughput is low. Is there any > other solution to increase the throughput(for example increasing camels pool > size)? Also are there any other thread safe classes or resources that I > should take into consideration? > > Thank you > -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/