cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [01/33] cxf git commit: [CXF-6994] Skip RMCaptureInInterceptor processing for GET requests [Forced Update!]
Date Sat, 13 Aug 2016 21:30:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/master-jaxrs-2.1 6c7552902 -> e2fe163dd (forced update)


[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-jaxrs-2.1
Commit: 57d9d556066372fef3cde1589acb570e543b78df
Parents: 7640080
Author: Alessio Soldano <asoldano@redhat.com>
Authored: Thu Aug 4 18:31:05 2016 +0200
Committer: Alessio Soldano <asoldano@redhat.com>
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))) {
 


Mime
View raw message