But the process continues normally, it tries to resend again, but gives the error again, but in AWS web services it is processing normally and I have verified that it returns the normal status codes.
Searching the Camel documentation I found the httpClient. I made the configuration by increasing the timeout, but nothing worked, it seems that it ignores these settings (httpClient.socketTimeout = 300000).
I'm thinking of splitting the JSON file, with some rule like every 1000 records generating 1 JSON file. So I will have several smaller files that will be processed faster and thus get the response from the server, avoiding this error.
My actual route thats find all records in database and create a json file is:
Couldn't you split the resultset from the database and for each split produce a json and send that batch to your web service?
On Mon, Apr 17, 2017 at 6:45 PM, andcrow [via Camel] <[hidden email]> wrote:
Still in the battle with this case ..... hehehehe
Viewing the documentation I found the component SQL Component:
In the options:
maxMessagesPerPoll: Camel 2.11: SQL consumer only: An integer value to define the maximum number of messages to gather per poll. By default, no maximum is set.
But also with this component he ignores this option:
to("sql:" + new ProductQuery().getProductSelect() + "?maxMessagesPerPoll=1000&dataSource=myDataSource")
If you reply to this email, your message will be added to the discussion below: