Repository: cxf Updated Branches: refs/heads/master ad3be395e -> 072aba653
Fixing the last commit Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/072aba65 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/072aba65 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/072aba65 Branch: refs/heads/master Commit: 072aba65357bd64c7e87b6f23c6af079e4dbc3a7 Parents: ad3be39 Author: Sergey Beryozkin <[email protected]> Authored: Mon Feb 1 15:31:02 2016 +0000 Committer: Sergey Beryozkin <[email protected]> Committed: Mon Feb 1 15:31:02 2016 +0000 ---------------------------------------------------------------------- .../java/org/apache/cxf/throttling/SimpleThrottlingManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/072aba65/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 7dd8498..7c5ec84 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 @@ -43,9 +43,9 @@ public class SimpleThrottlingManager extends ThrottleResponse implements Throttl if (m.containsKey(THROTTLED_KEY)) { return null; } - m.put(ThrottlingCounter.class, counter); + m.getExchange().put(ThrottlingCounter.class, counter); if (counter.incrementAndGet() >= threshold) { - m.getExchange().put(THROTTLED_KEY, true); + m.put(THROTTLED_KEY, true); return this; } else { return null;
