CAMEL-9509: Fixed camel-cometd. Thanks to dharsh for reporitng and spotting where the bug was.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b3117083 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b3117083 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b3117083 Branch: refs/heads/camel-2.16.x Commit: b311708300999ba6908f1b74dedc7130db2a0b4f Parents: 0d82e68 Author: Claus Ibsen <[email protected]> Authored: Thu Jan 14 16:57:58 2016 +0000 Committer: Claus Ibsen <[email protected]> Committed: Thu Jan 14 16:58:59 2016 +0000 ---------------------------------------------------------------------- .../java/org/apache/camel/component/cometd/CometdEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/b3117083/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java index 43d2a35..e9fab0b 100644 --- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java +++ b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java @@ -109,7 +109,7 @@ public class CometdEndpoint extends DefaultEndpoint { } public boolean isSingleton() { - return false; + return true; } public String getPath() {
