3.3. 在 Microsoft Windows 上运行 Hello World
Hello World 示例创建与代理的连接,发送一条包含问候语的消息到 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!