[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/9f1421ae
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9f1421ae
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9f1421ae

Branch: refs/heads/3.1.x-fixes
Commit: 9f1421ae1d009c42ad2a85f5bb8cb3290a5658be
Parents: 6e4c1d4
Author: Alessio Soldano <asold...@redhat.com>
Authored: Thu Aug 4 18:31:05 2016 +0200
Committer: Daniel Kulp <dk...@apache.org>
Committed: Fri Oct 14 12:44:10 2016 -0400

----------------------------------------------------------------------
 .../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/9f1421ae/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 bc7e8ea..bc80ed7 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