Project: springxd
Issue XD-2417: tcp-client reports error when using --close=true flag
When using the --close=true flag for the tcp-client the following exception is triggered. Caused by: java.lang.IllegalArgumentException: For client-mode, connection factory must have single-use='false' org.springframework.util.Assert.isTrue(Assert.java:65) org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter.onInit(TcpReceivingChannelAdapter.java:96) org.springframework.integration.context.IntegrationObjectSupport.afterPropertiesSet(IntegrationObjectSupport.java:135) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564)
Story points: 1