Show Table of Contents
20.4. 大規模なメッセージの処理
20.4.1. サイズの大きなメッセージの処理
HornetQ は、クライアントまたはサーバーでメモリーのサイズが制限されていても、大きなメッセージの使用をサポートします。サイズが大きなメッセージは、そのままストリームしたり、効率的に転送するためにさらに圧縮したりできます。ユーザーは、メッセージのボディーに
InputStream を設定すると大きなメッセージを送信できます。メッセージが送信されると HornetQ がこの InputStream を読み取り、データを断片的にサーバーへ送信します。
クライアントやサーバーは、大きなメッセージのボディー部分を完全な形でメモリーに保存しません。コンシューマーは最初にボディーが空の大きなメッセージを受け取った後、メッセージに
OutputStream を設定して断片的にディスクファイルへストリームします。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.