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/07 12:59:25 UTC
[6/6] camel git commit: Component docs
Component docs
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2bb72b11
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2bb72b11
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2bb72b11
Branch: refs/heads/camel-2.16.x
Commit: 2bb72b112496d645633aea86e92efeab65f22bc5
Parents: 6fdf70c
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Jan 7 12:41:05 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Jan 7 12:45:11 2016 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/component/netty/NettyEndpoint.java | 3 +++
.../java/org/apache/camel/component/netty4/NettyEndpoint.java | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/2bb72b11/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyEndpoint.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyEndpoint.java
index e8fcbcc..f141fe4 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyEndpoint.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyEndpoint.java
@@ -41,6 +41,9 @@ import org.jboss.netty.util.Timer;
public class NettyEndpoint extends DefaultEndpoint {
@UriParam
private NettyConfiguration configuration;
+ @UriParam(label = "advanced", javaType = "org.apache.camel.component.netty.NettyServerBootstrapConfiguration",
+ description = "To use a custom configured NettyServerBootstrapConfiguration for configuring this endpoint.")
+ private Object bootstrapConfiguration; // to include in component docs as NettyServerBootstrapConfiguration is a @UriParams class
private Timer timer;
public NettyEndpoint(String endpointUri, NettyComponent component, NettyConfiguration configuration) {
http://git-wip-us.apache.org/repos/asf/camel/blob/2bb72b11/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java
index 1b57b11..6bfad7e 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java
@@ -41,7 +41,10 @@ import org.apache.camel.util.ObjectHelper;
public class NettyEndpoint extends DefaultEndpoint {
@UriParam
private NettyConfiguration configuration;
-
+ @UriParam(label = "advanced", javaType = "org.apache.camel.component.netty4.NettyServerBootstrapConfiguration",
+ description = "To use a custom configured NettyServerBootstrapConfiguration for configuring this endpoint.")
+ private Object bootstrapConfiguration; // to include in component docs as NettyServerBootstrapConfiguration is a @UriParams class
+
public NettyEndpoint(String endpointUri, NettyComponent component, NettyConfiguration configuration) {
super(endpointUri, component);
this.configuration = configuration;