Repository: camel Updated Branches: refs/heads/master fa877a3ae -> 14b61640a
[CAMEL-7583] Made NettyWorkerPoolBuilder#build public. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/14b61640 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/14b61640 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/14b61640 Branch: refs/heads/master Commit: 14b61640abd4434485b146222873a3d52aad809f Parents: fa877a3 Author: Henryk Konsek <[email protected]> Authored: Mon Jul 7 10:17:36 2014 +0200 Committer: Henryk Konsek <[email protected]> Committed: Mon Jul 7 10:17:36 2014 +0200 ---------------------------------------------------------------------- .../org/apache/camel/component/netty/NettyWorkerPoolBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/14b61640/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyWorkerPoolBuilder.java ---------------------------------------------------------------------- diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyWorkerPoolBuilder.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyWorkerPoolBuilder.java index 2f175d5..6b615e1 100644 --- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyWorkerPoolBuilder.java +++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyWorkerPoolBuilder.java @@ -62,7 +62,7 @@ public final class NettyWorkerPoolBuilder { /** * Creates a new worker pool. */ - WorkerPool build() { + public WorkerPool build() { int count = workerCount > 0 ? workerCount : NettyHelper.DEFAULT_IO_THREADS; workerPool = new NioWorkerPool(Executors.newCachedThreadPool(), count, new CamelNettyThreadNameDeterminer(pattern, name)); return workerPool;
