You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reference/asciidoc/ip.adoc
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -545,7 +545,7 @@ Adapters are automatically started by default.
545
545
Again, the connection factory must be of type client and have _single-use_ set to false and _retry-interval_ and _scheduler_ are also supported.
546
546
If a connection fails, it will be re-established either by the scheduler or when the next message is sent.
547
547
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()`.
549
549
550
550
[[tcp-gateways]]
551
551
=== TCP Gateways
@@ -569,7 +569,7 @@ In this case, the connection factory must be of type 'client' and must have _sin
569
569
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.
570
570
_scheduler_ is used to supply a `TaskScheduler` used to schedule the connection attempts, and to test that the connection is still active.
571
571
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()`.
573
573
574
574
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.
575
575
Communications over the connections are single-threaded.
0 commit comments