Hi, I have a requirement to download the data from a rest API. I am using https endpoint to call the rest API.
The code is as listed below, when I try to access the Rest API through Postman, its working fine and downloads a file with 50 MB. Where as when I am trying to access the API through the code that is listed below, it always times out. Am I missing on something. Any help or guidance is highly appreciated. public void configure() throws Exception { from("timer://foo?fixedRate=true&period=600000") .routeId("Locations file") .log(LoggingLevel.INFO,"File fetch route started started") .removeHeaders("*") .setHeader("CamelHttpMethod", constant("GET")) .setHeader(Exchange.HTTP_URI, constant("https://apiurl?key=keyvalue&httpClient.soTimeout=12000000")) .to("http4://myhost.com") .log(LoggingLevel.INFO, "File fetch started started") .to("file:Out1/fileName=loc.xml&noop=true") .end(); // My properties file has this url } Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-HTTPS-timing-out-tp5805429.html Sent from the Camel - Users mailing list archive at Nabble.com.