3.2. Red Hat Enterprise Linux での Hello World の実行
Hello World の例では、ブローカーへの接続を作成し、グリーティングを含むメッセージをexamplesキューに送信して、受信しなおします。成功すると、受信したメッセージをコンソールに出力します。
examples ディレクトリーに移動し、helloworld.py の例を実行します。
cd /usr/share/proton/examples/python/ python helloworld.py
$ cd /usr/share/proton/examples/python/
$ python helloworld.py
Hello World!