Re: Camel HTTP component vs. Apache HTTP client

2013-07-24 Thread humayun0156
yes @Partha is right. i used the HttpEndpoints options "httpClient.authenticationPreemptive=true" in my url and the download time per xml reduced to 250-300ms. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p57

Re: Camel HTTP component vs. Apache HTTP client

2013-07-24 Thread partha
the time to download. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5736197.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-22 Thread humayun0156
HelperBean.java <http://paste.ubuntu.com/5899832/> ObjectCreatoinProcessor.java <http://paste.ubuntu.com/5899836/> -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5736005.html Sent from the Camel - Users

Re: Camel HTTP component vs. Apache HTTP client

2013-07-22 Thread Raul Kripalani
gt;.process(new ObjectCreationProcess(xmlToObjectMapping)); > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735974.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Willem Jiang
context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735995.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
my xml files are not more than 5kb and i don't want to cache them. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735995.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Willem Jiang
("${body}")) > .to("http4://dummyHost.com?" + npAuthenticationString) > .convertBodyTo(Document.class) > .bean(HelperBean.class, "setUrlETagMapping") > .process(new ObjectCreationProcess(xmlToObjectMapping)

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
new ObjectCreationProcess(xmlToObjectMapping)); -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735974.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Raul Kripalani
ct to camel or not. > > Thanks > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735960.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread humayun0156
porntat. we should decide whether we should port our project to camel or not. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735960.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-21 Thread Raul Kripalani
tch.stop(); > > > The StringBodyProcessor is simply to set the url in the exchange body. > The ObjectCreationgProcess is simply to create a new Object of the > downloaded xml. > > My producer template is in a recursive loop. > > and my resourceURI is looks lik

Re: Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread humayun0156
this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5735954.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread Christian Müller
00-800 ms but if i used for same request using Apache HTTP client > then it took 300-400 ms. Is it expected behavior or i misuse of camel's > HTTP > component? > Any idea? > > Thanks in advance. > > > > -- > View this message in context: > http://camel.46542

Camel HTTP component vs. Apache HTTP client

2013-07-20 Thread humayun0156
of camel's HTTP component? Any idea? Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943.html Sent from the Camel - Users mailing list archive at Nabble.com.