Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proguide: correct spelling of <connect-timeout> #623

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/src/asciidoc/ch08/channel_adaptor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ specific to the channel, so they go inside the 'channel' element, not
the outer 'channel-adaptor' element.
=====

=== Channel timeout, keep-alive, connection-timeout
=== Channel timeout, keep-alive, connect-timeout

We strongly recommend that you add a channel-level timeout (expressed in
milliseconds). There are many situations where a network connection can
Expand All @@ -185,7 +185,7 @@ Setting the keep-alive (+true/false+) would set the low level +SO_KEEPALIVE+
flag at the socket level for situations where no network management messages
are exchanged.

The +connection-timeout+ property can be used to set a smaller timeout at
The +connect-timeout+ property can be used to set a smaller timeout at
connect time, this is useful when combined with the +alternate-host+ and
+alternate-port+ set of properties.

Expand All @@ -194,7 +194,7 @@ connect time, this is useful when combined with the +alternate-host+ and
<channel class="org.jpos.iso.channel.NACChannel"
....
....
<property name="connection-timeout" value="15000" /> <!-- 15 seconds -->
<property name="connect-timeout" value="15000" /> <!-- 15 seconds -->
<property name="timeout" value="300000" /> <!-- five minutes -->
<property name="keep-alive" value="true" />
....
Expand Down
Loading