Chapter 6. Message delivery
6.1. Writing to a streamed large message Copy linkLink copied to clipboard!
				To write to a large message, use the BytesMessage.writeBytes() method. The following example reads bytes from a file and writes them to a message:
			
Example: Writing to a streamed large message
6.2. Reading from a streamed large message Copy linkLink copied to clipboard!
				To read from a large message, use the BytesMessage.readBytes() method. The following example reads bytes from a message and writes them to a file:
			
Example: Reading from a streamed large message