Thanks Claus for pointing out the mistake.

Changed the design to have a single route per protocol and now using the
dynamic EIP pattern to pass in the endpoint url and other parameters. The
new route looks like :

from("direct:http")
        .recipientList(simple("http:${header.url}?
httpClient.soTimeout=${header.timeout}&disableStreamCache=true"));


Thanks,
Hussain








--
View this message in context: 
http://camel.465427.n5.nabble.com/Slow-startup-of-routes-tp5732356p5732473.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to