This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b9839c  Josetesan patch 1 (#3533)
5b9839c is described below

commit 5b9839cc7d6ffdddd50841b58520b1176ea913a6
Author: Jose Luis <mual...@gmail.com>
AuthorDate: Thu Jan 30 04:54:07 2020 +0100

    Josetesan patch 1 (#3533)
    
    * Fixes invalid pool-size formula javadoc
    
    * Brackets are not allowed
---
 components/camel-netty/src/main/docs/netty-component.adoc             | 2 +-
 .../main/java/org/apache/camel/component/netty/NettyComponent.java    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-netty/src/main/docs/netty-component.adoc 
b/components/camel-netty/src/main/docs/netty-component.adoc
index 988bdc8..3e540cf 100644
--- a/components/camel-netty/src/main/docs/netty-component.adoc
+++ b/components/camel-netty/src/main/docs/netty-component.adoc
@@ -61,7 +61,7 @@ The Netty component supports 8 options, which are listed 
below.
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *maximumPoolSize* (consumer) | Sets a maximum thread pool size for the netty 
consumer ordered thread pool. The default size is 2 x cpu core 1. Setting this 
value to eg 10 will then use 10 threads unless 2 x cpu core 1 is a higher 
value, which then will override and be used. For example if there are 8 cores, 
then the consumer thread pool will be 17. This thread pool is used to route 
messages received from Netty by Camel. We use a separate thread pool to ensure 
ordering of messages and a [...]
+| *maximumPoolSize* (consumer) | Sets a maximum thread pool size for the netty 
consumer ordered thread pool. The default size is 2 x cpu_core plus 1. Setting 
this value to eg 10 will then use 10 threads unless 2 x cpu_core plus 1 is a 
higher value, which then will override and be used. For example if there are 8 
cores, then the consumer thread pool will be 17. This thread pool is used to 
route messages received from Netty by Camel. We use a separate thread pool to 
ensure ordering of mess [...]
 | *configuration* (advanced) | To use the NettyConfiguration as configuration 
when creating endpoints. |  | NettyConfiguration
 | *executorService* (consumer) | To use the given EventExecutorGroup. |  | 
EventExecutorGroup
 | *useGlobalSslContextParameters* (security) | Enable usage of global SSL 
context parameters. | false | boolean
diff --git 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
index f231288..5c87b62 100644
--- 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
+++ 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyComponent.java
@@ -66,8 +66,8 @@ public class NettyComponent extends DefaultComponent 
implements SSLContextParame
 
     /**
      * Sets a maximum thread pool size for the netty consumer ordered thread 
pool.
-     * The default size is 2 x cpu core + 1. Setting this value to eg 10 will 
then use 10 threads
-     * unless 2 x cpu core + 1 is a higher value, which then will override and 
be used. For example
+     * The default size is 2 x cpu_core plus 1. Setting this value to eg 10 
will then use 10 threads
+     * unless 2 x cpu_core plus 1 is a higher value, which then will override 
and be used. For example
      * if there are 8 cores, then the consumer thread pool will be 17.
      *
      * This thread pool is used to route messages received from Netty by Camel.

Reply via email to