cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Setting the manager on the exchange
Date Mon, 01 Feb 2016 15:29:31 GMT
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 <sberyozkin@gmail.com>
Authored: Mon Feb 1 15:29:21 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@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;


Mime
View raw message