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:29:31 UTC
cxf git commit: Setting the manager on the exchange
Repository: cxf
Updated Branches:
refs/heads/master 201ccb06b -> ad3be395e
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/ad3be395
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/ad3be395
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/ad3be395
Branch: refs/heads/master
Commit: ad3be395e5d7a2101e698437bf43b3dfe01e0046
Parents: 201ccb0
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:29:21 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/ad3be395/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;