Results 1 to 2 of 2

Thread: Concurrency issue in RestTemplate Spring 3.0.0

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Default 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. #2
    Join Date
    Jul 2012
    Posts
    2

    Default

    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
  •