cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/3] cxf git commit: Setting the manager on the exchange
Date Mon, 01 Feb 2016 15:32:47 GMT
Setting the manager on the exchange


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

Branch: refs/heads/3.1.x-fixes
Commit: 7b004fe38800411ab8d2b693140b6b0e36cf5e48
Parents: 8781a1c
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 1 15:29:21 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 1 15:32:27 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/throttling/SimpleThrottlingManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/7b004fe3/rt/features/throttling/src/main/java/org/apache/cxf/throttling/SimpleThrottlingManager.java
----------------------------------------------------------------------
diff --git a/rt/features/throttling/src/main/java/org/apache/cxf/throttling/SimpleThrottlingManager.java
b/rt/features/throttling/src/main/java/org/apache/cxf/throttling/SimpleThrottlingManager.java
index 7fefbe9..7dd8498 100644
--- a/rt/features/throttling/src/main/java/org/apache/cxf/throttling/SimpleThrottlingManager.java
+++ b/rt/features/throttling/src/main/java/org/apache/cxf/throttling/SimpleThrottlingManager.java
@@ -45,7 +45,7 @@ public class SimpleThrottlingManager extends ThrottleResponse implements
Throttl
         }
         m.put(ThrottlingCounter.class, counter);
         if (counter.incrementAndGet() >= threshold) {
-            m.put(THROTTLED_KEY, true);
+            m.getExchange().put(THROTTLED_KEY, true);
             return this;
         } else {
             return null;


Mime
View raw message