From 8c6825505030982037b51282db55afb0adc6b94d Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 5 Jun 2019 14:51:10 -0400 Subject: [PATCH] Fix doc links; add checkAsciidocLinks to testAll --- build.gradle | 2 +- src/reference/asciidoc/ip.adoc | 2 ++ src/reference/asciidoc/whats-new.adoc | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index cfe2cac2b2..0760a50d8a 100644 --- a/build.gradle +++ b/build.gradle @@ -274,7 +274,7 @@ subprojects { subproject -> } } - task testAll(type: Test, dependsOn: check) + task testAll(type: Test, dependsOn: ['check',":checkAsciidocLinks"]) gradle.taskGraph.whenReady { graph -> if (graph.hasTask(testAll)) { diff --git a/src/reference/asciidoc/ip.adoc b/src/reference/asciidoc/ip.adoc index 6b1a655463..714cdab6fb 100644 --- a/src/reference/asciidoc/ip.adoc +++ b/src/reference/asciidoc/ip.adoc @@ -372,6 +372,8 @@ The following example shows a client connection factory that uses `java.net.Sock ---- ==== +Starting with version 5.2, the client connection factories support the property `connectTimeout`, specified in seconds, which defaults to 60. + [[tcp-codecs]] ==== Message Demarcation (Serializers and Deserializers) diff --git a/src/reference/asciidoc/whats-new.adoc b/src/reference/asciidoc/whats-new.adoc index 9115ab9364..98865800f5 100644 --- a/src/reference/asciidoc/whats-new.adoc +++ b/src/reference/asciidoc/whats-new.adoc @@ -71,10 +71,10 @@ See <<./ip.adoc#note-nio,About Non-blocking I/O (NIO)>> for more information. The outbound gateway has a new property `closeStreamAfterSend`; when used with a new connection for each request/reply it signals EOF to the server, without closing the connection. This is useful for servers that use the EOF to signal end of message instead of some delimiter in the data. -See <> for more information. +See <<./ip.adoc#tcp-gateways, TCP Gateways>> for more information. The client connection factories now support `connectTimeout` which causes an exception to be thrown if the connection is not established in that time. -See <> for more information. +See <<./ip.adoc#tcp-connection-factory, TCP Connection Factories>> for more information. [[x5.2-mail]] ==== Mail Changes