Announcement Announcement Module
No announcement yet.
Calling a spring service concurrently Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling a spring service concurrently

    I posted a message in the Spring Web Services forum but haven't heard back so I thought I would take a different approach and ask a more generalized question here.

    Basically I have a requirement to parse a file that contains about 5,000 records and for each record, call a web service. I would like to use Spring WS for calling the SOAP service. Since each request can take up to 2 minutes to get a response back, I would like to make the service calls concurrently.

    So my initial thought was to create a multi-threaded service that calls the Spring WS service, so that I can run them concurrently. Is that a good approach? Just looking for design ideas.

    We are using Spring2.x and JDK1.5.

    Thanks much-

  • #2
    I answered my own question. For those interested:


    • #3