This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit db1d69ea84f35477046975ea896118b67590ffb5
Author: Daniel Kulp <[email protected]>
AuthorDate: Mon Feb 26 12:12:15 2018 -0500

    [CXF-7508] CloseSequenceResponse does not have acknowledgments
    
    (cherry picked from commit 54054737231ad3b0308720a3752ba2caaacbced6)
---
 rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMOutInterceptor.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMOutInterceptor.java 
b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMOutInterceptor.java
index 58b8194..0807f3d 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMOutInterceptor.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMOutInterceptor.java
@@ -110,7 +110,8 @@ public class RMOutInterceptor extends 
AbstractRMInterceptor<Message>  {
         
         // add Acknowledgements (to application messages or explicitly created 
Acknowledgement messages only)
         boolean isAck = constants.getSequenceAckAction().equals(action);
-        if (isApplicationMessage || isAck) {
+        boolean isClose = constants.getCloseSequenceAction().equals(action);
+        if (isApplicationMessage || isAck || isClose) {
             AttributedURIType to = maps.getTo();
             assert null != to;
             addAcknowledgements(destination, rmpsOut, inSeqId, to);

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to