CAMEL-8702 Fixed the test error of camel-netty4
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2f175cb6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2f175cb6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2f175cb6 Branch: refs/heads/camel-2.14.x Commit: 2f175cb68792c501ddad410cef9113c5c99c8abb Parents: 283a526 Author: Willem Jiang <[email protected]> Authored: Thu Apr 30 10:44:48 2015 +0800 Committer: Willem Jiang <[email protected]> Committed: Thu Apr 30 10:44:48 2015 +0800 ---------------------------------------------------------------------- .../netty4/NettyServerBootstrapConfiguration.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2f175cb6/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyServerBootstrapConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyServerBootstrapConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyServerBootstrapConfiguration.java index a071535..9436a38 100644 --- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyServerBootstrapConfiguration.java +++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyServerBootstrapConfiguration.java @@ -57,12 +57,10 @@ public class NettyServerBootstrapConfiguration implements Cloneable { protected String securityProvider; protected String enabledProtocols = defaultEnabledProtocols; protected String passphrase; - @UriParam protected EventLoopGroup bossGroup; - @UriParam protected EventLoopGroup workerGroup; protected String networkInterface; - + // setup the default value of TLS static { // JDK6 doesn't support TLSv1.1,TLSv1.2 @@ -323,19 +321,19 @@ public class NettyServerBootstrapConfiguration implements Cloneable { } /** - * Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint + * Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint * @param bossGroup */ public void setBossGroup(EventLoopGroup bossGroup) { this.bossGroup = bossGroup; } - + public EventLoopGroup getWorkerGroup() { return workerGroup; } /** - * Set the WorkerGroup which could be used for handling selector eventloop across the NettyEndpoint + * Set the WorkerGroup which could be used for handling selector eventloop across the NettyEndpoint * @param workerGroup */ public void setWorkerGroup(EventLoopGroup workerGroup) {
