This is an automated email from the ASF dual-hosted git repository. pascalschumacher 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 1bcdfb9 Fix typo in Netty and Netty4 javadoc 1bcdfb9 is described below commit 1bcdfb91045c48f3f5a030737077c58e943b03ba Author: Pascal Schumacher <pascalschumac...@gmx.net> AuthorDate: Fri Sep 14 18:41:48 2018 +0200 Fix typo in Netty and Netty4 javadoc --- components/camel-netty/src/main/docs/netty-component.adoc | 4 ++-- .../java/org/apache/camel/component/netty/NettyConfiguration.java | 2 +- .../java/org/apache/camel/component/netty4/NettyConfiguration.java | 2 +- .../camel/component/netty/springboot/NettyComponentConfiguration.java | 2 +- .../component/netty4/springboot/NettyComponentConfiguration.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/camel-netty/src/main/docs/netty-component.adoc b/components/camel-netty/src/main/docs/netty-component.adoc index 31d9ff6..dab2ae0 100644 --- a/components/camel-netty/src/main/docs/netty-component.adoc +++ b/components/camel-netty/src/main/docs/netty-component.adoc @@ -149,7 +149,7 @@ with the following path and query parameters: | *sendBufferSize* (advanced) | The TCP/UDP buffer sizes to be used during outbound communication. Size is bytes. | 65536 | long | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean | *transferExchange* (advanced) | Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | boolean -| *allowDefaultCodec* (codec) | The netty component installs a default codec if both, encoder/deocder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. | true | boolean +| *allowDefaultCodec* (codec) | The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. | true | boolean | *autoAppendDelimiter* (codec) | Whether or not to auto append missing end delimiter when sending using the textline codec. | true | boolean | *decoder* (codec) | *Deprecated* A custom ChannelHandler class that can be used to perform special marshalling of inbound payloads. Must override org.jboss.netty.channel.ChannelUpStreamHandler. | | ChannelHandler | *decoderMaxLineLength* (codec) | The max line length to use for the textline codec. | 1024 | int @@ -185,7 +185,7 @@ The component supports 70 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *camel.component.netty.configuration.allow-default-codec* | The netty component installs a default codec if both, encoder/deocder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. | true | Boolean +| *camel.component.netty.configuration.allow-default-codec* | The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. | true | Boolean | *camel.component.netty.configuration.auto-append-delimiter* | Whether or not to auto append missing end delimiter when sending using the textline codec. | true | Boolean | *camel.component.netty.configuration.backlog* | Allows to configure a backlog for netty consumer (server). Note the backlog is just a best effort depending on the OS. Setting this option to a value such as 200, 500 or 1000, tells the TCP stack how long the accept queue can be If this option is not configured, then the backlog depends on OS setting. | | Integer | *camel.component.netty.configuration.boss-count* | When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1. User can use this operation to override the default bossCount from Netty | 1 | Integer diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java index e121212..00f6810 100644 --- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java +++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java @@ -463,7 +463,7 @@ public class NettyConfiguration extends NettyServerBootstrapConfiguration implem } /** - * The netty component installs a default codec if both, encoder/deocder is null and textline is false. + * The netty component installs a default codec if both, encoder/decoder is null and textline is false. * Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. */ public void setAllowDefaultCodec(boolean allowDefaultCodec) { diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyConfiguration.java index dc0753f..924e4d5 100644 --- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyConfiguration.java +++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyConfiguration.java @@ -493,7 +493,7 @@ public class NettyConfiguration extends NettyServerBootstrapConfiguration implem } /** - * The netty component installs a default codec if both, encoder/deocder is null and textline is false. + * The netty component installs a default codec if both, encoder/decoder is null and textline is false. * Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. */ public void setAllowDefaultCodec(boolean allowDefaultCodec) { diff --git a/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java index f5a2eee..9713b10 100644 --- a/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-netty-starter/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java @@ -216,7 +216,7 @@ public class NettyComponentConfiguration */ private LoggingLevel serverClosedChannelExceptionCaughtLogLevel = LoggingLevel.DEBUG; /** - * The netty component installs a default codec if both, encoder/deocder + * The netty component installs a default codec if both, encoder/decoder * is null and textline is false. Setting allowDefaultCodec to false * prevents the netty component from installing a default codec as the * first element in the filter chain. diff --git a/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java index d629448..6b5137c 100644 --- a/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-netty4-starter/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java @@ -247,7 +247,7 @@ public class NettyComponentConfiguration */ private LoggingLevel serverClosedChannelExceptionCaughtLogLevel = LoggingLevel.DEBUG; /** - * The netty component installs a default codec if both, encoder/deocder + * The netty component installs a default codec if both, encoder/decoder * is null and textline is false. Setting allowDefaultCodec to false * prevents the netty component from installing a default codec as the * first element in the filter chain.