You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/02/01 16:32:47 UTC

[2/3] cxf git commit: Setting the manager on the exchange

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 <sb...@gmail.com>
Authored: Mon Feb 1 15:29:21 2016 +0000
Committer: Sergey Beryozkin <sb...@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;