Add attribute 'extract-payload' (default=true) similar to JMS endpoints, to tcp connection factories, supporting the transfer of the complete message.
If extract-payload is false, switch default (de)serializer from ByteArrayCrLfSerializer to Default(De)Serializer (java serialization).
Assign a new message id when deserializing a complete message; put the id from the transmitted message into a header tcp_remote_message_id.
Support for UDP is covered under a separate JIRA (
INT-1808) because it's more complex; those adapters don't currently support pluggable serializers.