How to create a client/server which receive more than 2048 Characters using spring ip integration TCP?
Asked
Active
Viewed 67 times
0
-
have you already gotten it to work with fewer-than-2048-characters? – Mike Nakis Jun 29 '22 at 07:38
-
yes, I already did it with less than 2048 characters – kasse kasse Jun 30 '22 at 08:18
-
So, how about showing us what you have already done? – Mike Nakis Jun 30 '22 at 08:19
-
I use the code on Annotation-Based Configuration Paragraph, this is the link https://docs.spring.io/spring-integration/reference/html/ip.html – kasse kasse Jun 30 '22 at 09:47
-
In that link, it says: "The default maximum message size is 2048 bytes. You can increase it by setting the maxMessageSize property. If you use the default serializer or deserializer and wish to increase the maximum message size, you must declare the maximum message size as an explicit bean with the maxMessageSize property set and configure the connection factory to use that bean." Does this answer your question? – Mike Nakis Jun 30 '22 at 10:10
-
question is: "how to create a client/server which receive more than 2048 Characters using spring ip integration TCP". The probleme is that, I dont now how to set the maxMessageSize propeeties; I am using the annotations config – kasse kasse Jun 30 '22 at 10:26
-
I see. Well, I don't know either. Hopefully someone who knows will show up. – Mike Nakis Jun 30 '22 at 10:28