Skip to content

Commit a954290

Browse files
garyrussellartembilan
authored andcommitted
Fix docs isClientModeConnected()
1 parent da53ed6 commit a954290

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
@@ -647,7 +647,7 @@ Adapters are automatically started by default.
647647
Again, the connection factory must be of type client and have _single-use_ set to false and _retry-interval_ and _scheduler_ are also supported.
648648
If a connection fails, it will be re-established either by the scheduler or when the next message is sent.
649649

650-
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()`.
650+
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()`.
651651

652652
[[tcp-gateways]]
653653
=== TCP Gateways
@@ -671,7 +671,7 @@ In this case, the connection factory must be of type 'client' and must have _sin
671671
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.
672672
_scheduler_ is used to supply a `TaskScheduler` used to schedule the connection attempts, and to test that the connection is still active.
673673

674-
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()`.
674+
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()`.
675675

676676
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.
677677
Communications over the connections are single-threaded.
@@ -704,6 +704,8 @@ remote-timeout-expression="headers['timeout']" -->
704704

705705
A simple outbound TCP gateway.
706706

707+
`client-mode` is not currently available with the outbound gateway.
708+
707709
[[ip-correlation]]
708710
=== TCP Message Correlation
709711

0 commit comments

Comments
 (0)