Skip to content

Commit 8916dbe

Browse files
garyrussellartembilan
authored andcommitted
Fix docs isClientModeConnected()
(cherry picked from commit a954290)
1 parent c78108f commit 8916dbe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/reference/asciidoc/ip.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ Adapters are automatically started by default.
545545
Again, the connection factory must be of type client and have _single-use_ set to false and _retry-interval_ and _scheduler_ are also supported.
546546
If a connection fails, it will be re-established either by the scheduler or when the next message is sent.
547547

548-
For both inbound and outbound, if the adapter is started, you may force the adapter to establish a connection by sending a <control-bus /> command: `@adapter_id.retryConnection()` and examine the current state with `@adapter_id.isConnected()`.
548+
For both inbound and outbound, if the adapter is started, you may force the adapter to establish a connection by sending a <control-bus /> command: `@adapter_id.retryConnection()` and examine the current state with `@adapter_id.isClientModeConnected()`.
549549

550550
[[tcp-gateways]]
551551
=== TCP Gateways
@@ -569,7 +569,7 @@ In this case, the connection factory must be of type 'client' and must have _sin
569569
Two additional attributes are used to support this mechanism: _retry-interval_ specifies (in milliseconds) how often the framework will attempt to reconnect after a connection failure.
570570
_scheduler_ is used to supply a `TaskScheduler` used to schedule the connection attempts, and to test that the connection is still active.
571571

572-
If the gateway is started, you may force the gateway to establish a connection by sending a <control-bus /> command: `@adapter_id.retryConnection()` and examine the current state with `@adapter_id.isConnected()`.
572+
If the gateway is started, you may force the gateway to establish a connection by sending a <control-bus /> command: `@adapter_id.retryConnection()` and examine the current state with `@adapter_id.isClientModeConnected()`.
573573

574574
The outbound gateway, after sending a message over the connection, waits for a response and constructs a response message and puts in on the reply channel.
575575
Communications over the connections are single-threaded.
@@ -602,6 +602,8 @@ remote-timeout-expression="headers['timeout']" -->
602602

603603
A simple outbound TCP gateway.
604604

605+
`client-mode` is not currently available with the outbound gateway.
606+
605607
[[ip-correlation]]
606608
=== TCP Message Correlation
607609

0 commit comments

Comments
 (0)