Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1283

Forking another thread to invoke the service implementation in ServiceInvokerInterceptor is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.0.1, 2.0.2, 2.0.3
    • 2.1.8, 2.2.5
    • Core
    • None

    Description

      I just did a test of using the separated thread pool for the servant execution, the test was failed.

      It is because CXF OutgoingChainInterceptor and ServiceInvokerInterceptor are invoked in the same thread,
      if we fork another thread to invoke the servant, the original thread will not wait for the response message
      and keep on calling the OutgoingChainInterceptor and the OutgoingChainInterceptor can't get the outMessage
      from the exchange the output stream will be closed. The client side will not get the expected message then.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: