Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-309

SOAP inbound gateway processes requests sequentially

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 0.1
    • 0.3
    • component-soap
    • None

    Description

      I tried to create a service that will simulate long processing (10 secs sleep). If I try to send two request then they are processed sequentially - the first is in process and the second is blocked. As SOAP frequently uses InOut message then such behaviour is not correct as it leads to no scalability.

      See an example from log
      11:34:23,426 INFO [stdout] (Thread-25) Starting long op
      11:34:33,426 INFO [stdout] (Thread-25) Long op finished
      11:35:07,289 INFO [stdout] (Thread-25) Starting long op
      11:35:17,290 INFO [stdout] (Thread-25) Long op finished
      11:35:17,318 INFO [stdout] (Thread-25) Starting long op
      11:35:27,319 INFO [stdout] (Thread-25) Long op finished
      11:53:38,663 INFO [stdout] (Thread-25) Starting long op
      11:53:48,663 INFO [stdout] (Thread-25) Long op finished
      11:53:48,689 INFO [stdout] (Thread-25) Starting long op
      11:53:58,689 INFO [stdout] (Thread-25) Long op finished

      All requests are process by same thread

      I am invoking TestService using SOAP UI, two requests at the same time

      Attachments

        Issue Links

          Activity

            People

              mageshbk_jira Magesh Bojan (Inactive)
              jpechane Jiri Pechanec
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived: