This is an automated email from the ASF dual-hosted git repository. quinn 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 11f1cdb No JIRA - Updated read timeout from 500-ms to 5-sec in camel-mllp 11f1cdb is described below commit 11f1cdb4fa0f2dfc53f5ac1ec902d65f250c2068 Author: Quinn Stevenson <qu...@apache.org> AuthorDate: Fri Feb 2 12:20:20 2018 -0700 No JIRA - Updated read timeout from 500-ms to 5-sec in camel-mllp --- components/camel-mllp/src/main/docs/mllp-component.adoc | 4 ++-- .../main/java/org/apache/camel/component/mllp/MllpConfiguration.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/camel-mllp/src/main/docs/mllp-component.adoc b/components/camel-mllp/src/main/docs/mllp-component.adoc index b6f0754..0382475 100644 --- a/components/camel-mllp/src/main/docs/mllp-component.adoc +++ b/components/camel-mllp/src/main/docs/mllp-component.adoc @@ -109,7 +109,7 @@ with the following path and query parameters: | *receiveBufferSize* (tcp) | Sets the SO_RCVBUF option to the specified value (in bytes) | 8192 | Integer | *sendBufferSize* (tcp) | Sets the SO_SNDBUF option to the specified value (in bytes) | 8192 | Integer | *tcpNoDelay* (tcp) | Enable/disable the TCP_NODELAY socket option. | true | Boolean -| *readTimeout* (timeout) | The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received | 500 | int +| *readTimeout* (timeout) | The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received | 5000 | int | *receiveTimeout* (timeout) | The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame | 15000 | int | *charsetName* (codec) | Set the CamelCharsetName property on the exchange | | String |=== @@ -212,4 +212,4 @@ The state of the TCP Socket can be controlled by these properties on the Camel e |CamelMllpResetConnectionBeforeSend | Boolean | If true, the Socket will be reset before sending data |CamelMllpCloseConnectionAfterSend | Boolean | If true, the Socket will be closed immediately after sending data |CamelMllpResetConnectionAfterSend | Boolean | If true, the Socket will be reset immediately after sending any data -|==================================== \ No newline at end of file +|==================================== diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpConfiguration.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpConfiguration.java index 2554541..6d48925 100644 --- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpConfiguration.java +++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpConfiguration.java @@ -75,8 +75,8 @@ public class MllpConfiguration implements Cloneable { @UriParam(label = "advanced,tcp,timeout", defaultValue = "null") Integer idleTimeout; - @UriParam(label = "advanced,tcp,timeout", defaultValue = "500") - int readTimeout = 500; + @UriParam(label = "advanced,tcp,timeout", defaultValue = "5000") + int readTimeout = 5000; @UriParam(label = "advanced,producer,tcp", defaultValue = "true") Boolean keepAlive = true; -- To stop receiving notification emails like this one, please contact qu...@apache.org.