Repository: cxf
Updated Branches:
  refs/heads/master 8c6d7f987 -> d557319d8


[CXF-6994] Skip RMCaptureInInterceptor processing for GET requests


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

Branch: refs/heads/master
Commit: 57d9d556066372fef3cde1589acb570e543b78df
Parents: 7640080
Author: Alessio Soldano <[email protected]>
Authored: Thu Aug 4 18:31:05 2016 +0200
Committer: Alessio Soldano <[email protected]>
Committed: Thu Aug 4 18:31:05 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/57d9d556/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java 
b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java
index 87ae210..9257e81 100755
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureInInterceptor.java
@@ -64,7 +64,7 @@ public class RMCaptureInInterceptor extends 
AbstractRMInterceptor<Message> {
        
         // all messages are initially captured as they cannot be distinguished 
at this phase
         // Non application messages temp files are released 
(cos.releaseTempFileHold()) in RMInInterceptor
-        if 
(!MessageUtils.isTrue(message.getContextualProperty(Message.ROBUST_ONEWAY))
+        if (!isGET(message) && 
!MessageUtils.isTrue(message.getContextualProperty(Message.ROBUST_ONEWAY))
             && (getManager().getStore() != null || 
(getManager().getDestinationPolicy() != null && getManager()
                 .getDestinationPolicy().getRetryPolicy() != null))) {
 

Reply via email to