Announcement Announcement Module
Collapse
No announcement yet.
Concurrency issue in RestTemplate Spring 3.0.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    The issue has been fixed, when we replaced the Spring's overriden resttemplate with apache HttpClient template.
    httpclient version: 4.2

    Comment

    Working...
    X