此内容没有您所选择的语言版本。
Chapter 6. Message delivery
6.1. Writing to a streamed large message 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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