You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/11/21 13:56:31 UTC
[08/10] git commit: Fixed test
Fixed test
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e1d7bc81
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e1d7bc81
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e1d7bc81
Branch: refs/heads/camel-2.11.x
Commit: e1d7bc81b5b83cc7c00eccbc04cfa89256faac9d
Parents: 056954a
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Nov 21 12:47:12 2013 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Nov 21 12:47:12 2013 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/impl/DefaultProducerCacheTest.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/e1d7bc81/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java b/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index 7c43c9f..08d84f3 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -153,6 +153,12 @@ public class DefaultProducerCacheTest extends ContextTestSupport {
protected void doShutdown() throws Exception {
shutdownCounter.incrementAndGet();
}
+
+ @Override
+ public boolean isSingleton() {
+ // endpoint decides if we are singleton
+ return getEndpoint().isSingleton();
+ }
}
}