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

Allow for 1-way over JMS requests to set replyTo destination in JMS message when explicitly enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 2.1.5
    • 2.0.12, 2.1.6, 2.2.3
    • Transports
    • None

    Description

      Some of the users of cxf requested that it should be possible to have one-way calls over JMS set JMS Message replyTo field with WSDL or invocation context provided destination.

      If a user has a named replyToDestination set in WSDL or spring Config for a given WSDL port and then using a proxy associated with that port client makes a one way call, the JMS Message's replyTo filed will be set with the replyToDestination from Spring config or WSDL in that order of priority respectfully.

      This will only be the case once the user specifically enables this behaviour by setting jms:clientConfig@enforseSpec = false. By default CXF applications will function as before this change.

      The user can still specifically disable this behaviour on per request basis even when by default it is desirable to set and propagate replyTo for one-way calls by putting a property in the invocation conext JMSConstants.JMS_SET_REPLY_TO = false;

      Attachments

        1. CXF-2366.2009-28-13-42.patch
          15 kB
          Marat Gubaidullin

        Activity

          People

            dkulp Daniel Kulp
            marat Marat Gubaidullin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: