I've configured my channel to receive HL7 messages at a secure socket, and I've tested it with a small message (~10KB). The connection is established, message is received, processed and saved, and finally the socket connection is closed.
However, when attempting to send a large message (> approx. 100KB; in my usecase they're usually 1-4MB) to the socket, the connection is established and immediately terminated, and the message is never received. Here's a corresponding log merely indicating that the connection is terminated:
2020-08-19 12:33:54,180 GMT [server-socket p: 20003 (ssl)-recv5] WARN com.qvera.qie.engine.in.SecureSocketReceiver - Socket connection from /10.0.2.149:35620 terminated by peer (1 active connection)
I understand there's a Java option
-Dqie.largeMessageLimit but I'm not sure this would fix it -- surely, by default, the channel should be able to accept messages larger than 100KB?!
Do you have any suggestions how to go about this, or how to even debug it further? Thank you very much!