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
Original file line number
Diff line number
Diff line change
@@ -647,7 +647,7 @@ Adapters are automatically started by default.
647
647
Again, the connection factory must be of type client and have _single-use_ set to false and _retry-interval_ and _scheduler_ are also supported.
648
648
If a connection fails, it will be re-established either by the scheduler or when the next message is sent.
649
649
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()`.
651
651
652
652
[[tcp-gateways]]
653
653
=== TCP Gateways
@@ -671,7 +671,7 @@ In this case, the connection factory must be of type 'client' and must have _sin
671
671
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.
672
672
_scheduler_ is used to supply a `TaskScheduler` used to schedule the connection attempts, and to test that the connection is still active.
673
673
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()`.
675
675
676
676
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.
677
677
Communications over the connections are single-threaded.
0 commit comments