-
Jul 3rd, 2012, 12:49 PM
#1
Concurrency issue in RestTemplate Spring 3.0.0
There seems to be concurrency issue when using Spring's RestTemplate.
Resttemplate has been overriden to pass cookies and used for rest webservice calls in our application.
However when load on the system increases we see concurrency issues, that probably thread connection has been re-used.
User A access the application calls ->> makes webservice call - Still in process
User B access the application calls ->> makes webservice call - Response completed
User A gets User B's response.
Spring version: 3.0.0
apache httpclient: 4.1.1
-
Jul 3rd, 2012, 12:52 PM
#2
The issue has been fixed, when we replaced the Spring's overriden resttemplate with apache HttpClient template.
httpclient version: 4.2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules