3.3. Microsoft Windows での Hello World の実行
Hello World の例では、ブローカーへの接続を作成し、グリーティングを含むメッセージをexamples
キューに送信して、受信しなおします。成功すると、受信したメッセージをコンソールに出力します。
examples ディレクトリーに移動し、helloworld.js
の例を実行します。
> cd <install-dir>/node_modules/rhea/examples > node helloworld.js Hello World!
> cd <install-dir>/node_modules/rhea/examples
> node helloworld.js
Hello World!