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

WS-A with JMS for OneWay: empty response is sent to client queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.15, 2.7.12
    • None
    • None
    • Unknown

    Description

      I am struggling with one effect appearing in case of using WS-A, OneWay message pattern and JMS transport.

      The problem is that service tries to send empty response to the client JMS queue.
      Empty message is sent by OneWayProcessorInterceptor. Without WS-A it is not a problem, because JMSDestination.sendExchange() checks if exchange is oneway and if yes, returns immediately.
      But if WS-A is active, MAPAggregator creates decoupled destination with JMSConduit as a sender. JMSConduit.sendExchange() doesn't has any checks for oneway and it tries to send empty response to ReplyTo address. If ReplyTo is anonymous or none, empty response is sent using http conduit to http://www.w3.org/2005/08/addressing/none address.
      The question does the rebaseResponse and decoupled destination make sense for oneway at all? Client doesn't expect any response for JMS in this case (for HTTP 202).

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              ashakirin Andrei Shakirin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: