You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/06/15 07:28:47 UTC
[camel] branch camel-2.20.x updated: CAMEL-12579: Disable Google
Analytics phone home
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch camel-2.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.20.x by this push:
new 26aa985 CAMEL-12579: Disable Google Analytics phone home
26aa985 is described below
commit 26aa9854f668665ea37bfc583884d4f936a8fc4d
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Thu Jun 14 19:15:02 2018 +0200
CAMEL-12579: Disable Google Analytics phone home
This disables by default Google Analytics callout from Atmosphere.
(cherry picked from commit 35ba0c8ab65620e8ec489fe22b9810e61643444d)
---
.../apache/camel/component/atmosphere/websocket/WebsocketConsumer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/WebsocketConsumer.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/WebsocketConsumer.java
index d912a2b..66bea49 100644
--- a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/WebsocketConsumer.java
+++ b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/WebsocketConsumer.java
@@ -60,6 +60,7 @@ public class WebsocketConsumer extends ServletConsumer {
initializer.configureFramework(config, false, false, AtmosphereFramework.class);
this.framework = initializer.framework();
this.framework.setUseNativeImplementation(false);
+ this.framework.addInitParameter(ApplicationConfig.ANALYTICS, "false");
this.framework.addInitParameter(ApplicationConfig.WEBSOCKET_SUPPORT, "true");
this.framework.addInitParameter(ApplicationConfig.WEBSOCKET_PROTOCOL,
getEndpoint().isUseStreaming() ? WebsocketStreamHandler.class.getName() : WebsocketHandler.class.getName());
--
To stop receiving notification emails like this one, please contact
zregvart@apache.org.