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-spring-boot.git

commit 0ee63bccf30356c7b7a3a2b5cac516001c9e5951
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Feb 15 14:40:49 2020 +0100

    CAMEL-14565: Add docs for missing option
---
 .../src/main/docs/undertow-starter.adoc                   | 11 +++++------
 .../springboot/UndertowComponentConfiguration.java        | 15 +++++++++++++++
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git 
a/components-starter/camel-undertow-starter/src/main/docs/undertow-starter.adoc 
b/components-starter/camel-undertow-starter/src/main/docs/undertow-starter.adoc
index d4ce27c..8f3effc 100644
--- 
a/components-starter/camel-undertow-starter/src/main/docs/undertow-starter.adoc
+++ 
b/components-starter/camel-undertow-starter/src/main/docs/undertow-starter.adoc
@@ -27,16 +27,15 @@ The component supports 13 options, which are listed below.
 | *camel.component.undertow.basic-property-binding* | Whether the component 
should use basic property binding (Camel 2.x) or the newer property binding 
with additional capabilities | false | Boolean
 | *camel.component.undertow.bridge-error-handler* | Allows for bridging the 
consumer to the Camel routing Error Handler, which mean any exceptions occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a message and handled by the routing Error Handler. By 
default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal 
with exceptions, that will be logged at WARN or ERROR level and ignored. | 
false | Boolean
 | *camel.component.undertow.enabled* | Whether to enable auto configuration of 
the undertow component. This is enabled by default. |  | Boolean
-| *camel.component.undertow.host-options.buffer-size* |  |  | Integer
-| *camel.component.undertow.host-options.direct-buffers* |  |  | Boolean
-| *camel.component.undertow.host-options.http2-enabled* |  |  | Boolean
-| *camel.component.undertow.host-options.io-threads* |  |  | Integer
-| *camel.component.undertow.host-options.worker-threads* |  |  | Integer
+| *camel.component.undertow.host-options.buffer-size* | The buffer size of the 
Undertow host. |  | Integer
+| *camel.component.undertow.host-options.direct-buffers* | Set if the Undertow 
host should use direct buffers. |  | Boolean
+| *camel.component.undertow.host-options.http2-enabled* | Set if the Undertow 
host should use http2 protocol. |  | Boolean
+| *camel.component.undertow.host-options.io-threads* | The number of io 
threads to use in a Undertow host. |  | Integer
+| *camel.component.undertow.host-options.worker-threads* | The number of 
worker threads to use in a Undertow host. |  | Integer
 | *camel.component.undertow.lazy-start-producer* | Whether the producer should 
be started lazy (on the first message). By starting lazy you can use this to 
allow CamelContext and routes to startup in situations where a producer may 
otherwise fail during starting and cause the route to fail being started. By 
deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware that when 
the first message is processed t [...]
 | *camel.component.undertow.mute-exception* | If enabled and an Exchange 
failed processing on the consumer side the response's body won't contain the 
exception's stack trace. | false | Boolean
 | *camel.component.undertow.ssl-context-parameters* | To configure security 
using SSLContextParameters. The option is a 
org.apache.camel.support.jsse.SSLContextParameters type. |  | String
 | *camel.component.undertow.undertow-http-binding* | To use a custom 
HttpBinding to control the mapping between Camel message and HttpClient. The 
option is a org.apache.camel.component.undertow.UndertowHttpBinding type. |  | 
String
 | *camel.component.undertow.use-global-ssl-context-parameters* | Enable usage 
of global SSL context parameters. | false | Boolean
 |===
-
 // spring-boot-auto-configure options: END
diff --git 
a/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
 
b/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
index dbfd25c..b5b291c 100644
--- 
a/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
+++ 
b/components-starter/camel-undertow-starter/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
@@ -155,10 +155,25 @@ public class UndertowComponentConfiguration
 
     public static class UndertowHostOptionsNestedConfiguration {
         public static final Class CAMEL_NESTED_CLASS = 
org.apache.camel.component.undertow.UndertowHostOptions.class;
+        /**
+         * The buffer size of the Undertow host.
+         */
         private Integer bufferSize;
+        /**
+         * Set if the Undertow host should use direct buffers.
+         */
         private Boolean directBuffers;
+        /**
+         * Set if the Undertow host should use http2 protocol.
+         */
         private Boolean http2Enabled;
+        /**
+         * The number of io threads to use in a Undertow host.
+         */
         private Integer ioThreads;
+        /**
+         * The number of worker threads to use in a Undertow host.
+         */
         private Integer workerThreads;
 
         public Integer getBufferSize() {

Reply via email to