Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2, 2.1.5
-
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;