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 2016/01/15 12:26:25 UTC

[2/3] camel git commit: CAMEL-9509: camel-cometd - Set the option to false to make it work out of the box.

CAMEL-9509: camel-cometd - Set the option to false to make it work out of the box.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/57c75380
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/57c75380
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/57c75380

Branch: refs/heads/camel-2.16.x
Commit: 57c75380b783d9a7cb432e522b13b0e3e5da1814
Parents: 8410c99
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Jan 15 12:24:43 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Jan 15 12:25:12 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/cometd/CometdEndpoint.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/57c75380/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 e9fab0b..936600a 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
@@ -67,8 +67,8 @@ public class CometdEndpoint extends DefaultEndpoint {
     private String allowedOrigins;
     @UriParam
     private String filterPath;
-    @UriParam(label = "producer", defaultValue = "true")
-    private boolean disconnectLocalSession = true;
+    @UriParam(label = "producer")
+    private boolean disconnectLocalSession;
 
     public CometdEndpoint(CometdComponent component, String uri, String remaining, Map<String, Object> parameters) {
         super(uri, component);