cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: [CXF-6145] WS-RM demo server throws exception Patch from gwuireland applied This closes #41
Date Fri, 19 Dec 2014 20:43:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 4ccaa6d5e -> fb5bdb1f6


[CXF-6145]  WS-RM demo server throws exception
Patch from gwuireland applied
This closes #41


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fb5bdb1f
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fb5bdb1f
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fb5bdb1f

Branch: refs/heads/3.0.x-fixes
Commit: fb5bdb1f69672a2a1f69d3787c530a887e19c3a5
Parents: 4ccaa6d
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Dec 19 15:42:10 2014 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Dec 19 15:43:45 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/fb5bdb1f/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
index 36f44d6..2e1a54b 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
@@ -178,8 +178,9 @@ public class DestinationSequence extends AbstractSequence {
         RMEndpoint reliableEndpoint = destination.getReliableEndpoint();
         RMConfiguration cfg = reliableEndpoint.getConfiguration();
         
-        scheduleAcknowledgement(cfg.getAcknowledgementIntervalTime());
-       
+        if (null == rmps.getCloseSequence()) {
+            scheduleAcknowledgement(cfg.getAcknowledgementIntervalTime());
+        }
         long inactivityTimeout = cfg.getInactivityTimeoutTime();
         scheduleSequenceTermination(inactivityTimeout);
     }


Mime
View raw message