Repository: camel Updated Branches: refs/heads/camel-2.14.x 3041cc643 -> f685c9977 refs/heads/camel-2.15.x e1105553d -> 483dafdbc refs/heads/master 047fddad7 -> 30c735106
CAMEL-9143: Fixed JMX leak when using ServicePoolAware producers. Thanks to Bob Browning for the test case. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/30c73510 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/30c73510 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/30c73510 Branch: refs/heads/master Commit: 30c73510649491f95227008711b54b89295866e7 Parents: 047fdda Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Sep 18 09:03:49 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Sep 18 09:03:49 2015 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/30c73510/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java ---------------------------------------------------------------------- diff --git a/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java b/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java index 9b3d947..96afc2d 100644 --- a/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java +++ b/camel-core/src/test/java/org/apache/camel/issues/ServicePoolAwareLeakyTest.java @@ -125,7 +125,7 @@ public class ServicePoolAwareLeakyTest extends ContextTestSupport { public void testForMemoryLeak() throws Exception { registerLeakyComponent(); - final Map<String, AtomicLong> references = new HashMap<>(); + final Map<String, AtomicLong> references = new HashMap<String, AtomicLong>(); // track LeakySieveProducer lifecycle context.addLifecycleStrategy(new LifecycleStrategySupport() {