Interface ClientModeCapable

All Known Implementing Classes:
TcpInboundGateway, TcpReceivingChannelAdapter, TcpSendingMessageHandler

public interface ClientModeCapable
Edpoints implementing this interface are capable of running in client-mode. For inbound endpoints, this means that the endpoint establishes the connection and then receives incoming data.

For an outbound adapter, it means that the adapter will establish the connection rather than waiting for a message to cause the connection to be established.

Since:
2.1
Author:
Gary Russell
  • Method Details

    • isClientMode

      @ManagedAttribute boolean isClientMode()
      Returns:
      true if the endpoint is running in client mode.
    • isClientModeConnected

      @ManagedAttribute boolean isClientModeConnected()
      Returns:
      true if the endpoint is running in client mode.
    • retryConnection

      @ManagedOperation void retryConnection()
      Immediately attempt to establish the connection.