IIRC just adding a <bean id="http" 
class="org.apache.camel.component.http4.HttpComponent"/> does the trick, at least worth a 
try. Don't forget to remove camel-http from your POM.

Thanks,
Tomo

On 02/02/2017 09:02 PM, jack patwork wrote:
Hi,

Is it possible to remap the 'http4' component to use the 'http' component
id. I'm asking because I have distributed application where a bunch of http
urls are being passed in as parameters and camel is mapping them to the
http component.

During performance testing it's revealed that we can get a significant gain
by switching to the httpclient 4.x. I'm wondering if there is a central
place where camel could be reconfigured, instead of finding all the
affected routes and ensuring a mapping between protocol and component-id is
in place.

Thanks in advance!

Jack

Reply via email to