Class TcpClientConnectionFactorySpec

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<AbstractClientConnectionFactory>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

Since:
5.0
  • Constructor Details

    • TcpClientConnectionFactorySpec

      protected TcpClientConnectionFactorySpec(String host, int port)
    • TcpClientConnectionFactorySpec

      protected TcpClientConnectionFactorySpec(String host, int port, boolean nio)
  • Method Details

    • connectTimeout

      public TcpClientConnectionFactorySpec connectTimeout(int connectTimeout)
      Set the connection timeout in seconds. Defaults to 60.
      Parameters:
      connectTimeout - the timeout.
      Returns:
      the spec.
      Since:
      5.2