Package org.springframework.integration.ip.tcp.connection

Examples of org.springframework.integration.ip.tcp.connection.TcpNetServerConnectionFactory


    return new DefaultPortExposingTcpSocketSupport();
  }

  @Bean
  public TcpNetServerConnectionFactory tcpNetServerConnectionFactory() {
    TcpNetServerConnectionFactory factory = new TcpNetServerConnectionFactory(0);
    factory.setTcpSocketSupport(defaultPortExposingTcpSocketSupport());
    factory.setSerializer(mindRpcSerializer());
    factory.setDeserializer(mindRpcSerializer());
    return factory;
  }
View Full Code Here


  @Autowired
  private Environment env;

  @Bean
  TcpNetServerConnectionFactory cf() {
    return new TcpNetServerConnectionFactory(9876);
  }
View Full Code Here

  @Autowired
  private Environment env;

  @Bean
  TcpNetServerConnectionFactory cf() {
    return new TcpNetServerConnectionFactory(9876);
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.ip.tcp.connection.TcpNetServerConnectionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.