Sending long messages


We developed an IM-solution based on signal messages which are encoded as xml and sent via the normal Chat.sendMessage().

Some messages are very long, (50000 characters).

It takes over 2 minutes to send/receive them. Are there any faster possibilites?


I’'m new so this is just a shot in the dark, but could it be broken up into smaller chunks?

Another possibility is to save your data into a file and transfer the file instead of as messages. For 50k of data, this should be much faster.