Code:
DEBUG: org.springframework.integration.ip.tcp.connection.TcpNioConnection - Message sent [Payload=[B@13ffa58][Headers={timestamp=1340351992338, id=737eb0e7-f242-49cc-8253-372d76176687, ip_address=127.0.0.1, ip_connection_seq=8, ip_hostname=127.0.0.1, ip_tcp_remote_port=39576, ip_connection_id=127.0.0.1:39576:89658411-647d-484c-99d8-888f017f77d9}]
DEBUG: org.springframework.integration.ip.tcp.connection.TcpNioConnection - 127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615 Reading...
DEBUG: org.springframework.integration.ip.tcp.connection.TcpNioConnection - Read 61440 into raw buffer
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 4 bytes, buffer is now at 4 of 4
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Message length is 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1020 bytes, buffer is now at 1020 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 2044 of 1024005
[...]
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 56316 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 57340 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 58364 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 59388 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 60412 of 1024005
DEBUG: org.springframework.integration.ip.tcp.connection.TcpNioConnection - 127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615 Reading...
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 61436 of 1024005
DEBUG: org.springframework.integration.ip.tcp.connection.TcpNioConnection - Read 61440 into raw buffer
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 62460 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 63484 of 1024005
[...]
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 1024 bytes, buffer is now at 1023996 of 1024005
DEBUG: org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer - Read 9 bytes, buffer is now at 1024005 of 1024005
DEBUG: org.springframework.integration.channel.DirectChannel - preSend on channel 'binary_handler', message: [Payload=[B@b529c8][Headers={timestamp=1340351992515, id=40b70fc3-1cf5-4107-a31d-b61d15f49fd7, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_hostname=127.0.0.1, ip_connection_seq=1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.handler.ServiceActivatingHandler - ServiceActivator for [org.springframework.integration.handler.MethodInvokingMessageProcessor@15385c6] received message: [Payload=[B@b529c8][Headers={timestamp=1340351992515, id=40b70fc3-1cf5-4107-a31d-b61d15f49fd7, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_hostname=127.0.0.1, ip_connection_seq=1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: [...cut package name...].integration.BinaryActivator - Binary Handler: Handle binary object. Payload size: 1024005
DEBUG: [...cut package name...].services.LogServiceImpl - LogEntry src: BinaryServiceImpl identify: handle_binary summary: Obsługa transferu binarnego
DEBUG: [...cut package name...].services.BinaryServiceImpl - Handle binary PUT for msg length: 1024005
DEBUG: [...cut package name...].services.BinaryServiceImpl - Handle binary PUT hashId: 5363bcc8
DEBUG: [...cut package name...].services.LogServiceImpl - LogEntry src: BinaryServiceImpl identify: handle_binary_put summary: Obsługa zapisu danych (PUT)
DEBUG: org.springframework.integration.handler.ServiceActivatingHandler - handler 'ServiceActivator for [org.springframework.integration.handler.MethodInvokingMessageProcessor@15385c6]' sending reply Message: [Payload=[B@473dc][Headers={timestamp=1340351993879, id=57447007-1fe7-4f7d-917d-0b41202d7da8, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_connection_seq=1, ip_hostname=127.0.0.1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.channel.DirectChannel - preSend on channel 'binary_reply', message: [Payload=[B@473dc][Headers={timestamp=1340351993879, id=57447007-1fe7-4f7d-917d-0b41202d7da8, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_connection_seq=1, ip_hostname=127.0.0.1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.handler.BridgeHandler - org.springframework.integration.handler.BridgeHandler@6b8de2 received message: [Payload=[B@473dc][Headers={timestamp=1340351993879, id=57447007-1fe7-4f7d-917d-0b41202d7da8, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_connection_seq=1, ip_hostname=127.0.0.1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.handler.BridgeHandler - handler 'org.springframework.integration.handler.BridgeHandler@6b8de2' sending reply Message: [Payload=[B@473dc][Headers={timestamp=1340351993879, id=57447007-1fe7-4f7d-917d-0b41202d7da8, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_connection_seq=1, ip_hostname=127.0.0.1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.channel.DirectChannel - postSend (sent=true) on channel 'binary_reply', message: [Payload=[B@473dc][Headers={timestamp=1340351993879, id=57447007-1fe7-4f7d-917d-0b41202d7da8, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_connection_seq=1, ip_hostname=127.0.0.1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
DEBUG: org.springframework.integration.channel.DirectChannel - postSend (sent=true) on channel 'binary_handler', message: [Payload=[B@b529c8][Headers={timestamp=1340351992515, id=40b70fc3-1cf5-4107-a31d-b61d15f49fd7, errorChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_address=127.0.0.1, replyChannel=org.springframework.integration.core.MessagingTemplate$TemporaryReplyChannel@1ca4240, ip_hostname=127.0.0.1, ip_connection_seq=1, ip_tcp_remote_port=36640, ip_connection_id=127.0.0.1:36640:d9ed2b9a-826c-4883-b223-98d69c170615}]
Sample C# code for sending