The current implementation of the InputStream processing (read and close) in the Http Client Response cause slowing performance.
In the Reference URL is reported the description of the problem and a working solution.
Although your description is felt like fully not related to Spring Integration, I'd like to see some test-case to play locally.
Since you claim that everything is related just to RestTemplate infrastructure, I guess the test could be just around it and probably with some MockMvc.
The RestTemplate is there around for a while already, so, I guess you are missing anything with that. Otherwise the issue has been filled before anyway.
Alessandro C opened INT-4084 and commented
The current implementation of the InputStream processing (read and close) in the Http Client Response cause slowing performance.
In the Reference URL is reported the description of the problem and a working solution.
Affects: 4.3.1
Reference URL: http://stackoverflow.com/questions/38657940/spring-integration-inbound-gateway-management-is-slower-by-20-seconds-instead-o
The text was updated successfully, but these errors were encountered: