spring – Got a java.lang.IllegalArgumentException when sending a Java object by the dynamic TCP/IP integration flow?

Gary Russell helped me some time ago with the following ‘DynamicTcpServer’ flow (see Building a TCP/IP server with SI’s dynamic flow registration) having now a message service injected which gets the message to send as soon as a client connects: public class DynamicTcpServer implements TcpServer { @Autowired private IntegrationFlowContext flowContext; @Autowired private ApplicationContext appContext; private … Read more