Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TCP/IP configuration using Spring framework In java

I am trying to make a server socket using Spring TCP/IP integration. But the problem is, I am quiet new using Spring and the solution I found after googling couldn't help me much. I visited Spring website, they talk about a lot of things I couldn't understand. So if anybody can help me please with the Spring configuration and corresponding java code....

BTW, I am receiving a stream of bytes from the client.

like image 323
bivrantoshakil Avatar asked Apr 20 '26 13:04

bivrantoshakil


1 Answers

See the Spring Integration Documentation; pay particular attention to the discussion about using deserializers to extract messages from the stream.

Also the the tcp-client-server, tcp-amqp, and tcp-client-server-multiplex samples.

like image 194
Gary Russell Avatar answered Apr 22 '26 02:04

Gary Russell