File: README.txt

package info (click to toggle)
qpid-proton 0.14.0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,632 kB
  • ctags: 20,083
  • sloc: java: 39,624; ansic: 29,389; python: 16,581; cpp: 11,250; ruby: 6,618; perl: 2,641; php: 1,033; xml: 957; sh: 230; pascal: 52; makefile: 32
file content (20 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This directory contains example scripts using the messenger API.

  send.py - a simple example of using the messenger API to send messages
  recv.py - a simple example of using the messenger API to receive messages

Note that depending on the address passed into these scripts, you can
use them in either a peer to peer or a brokered scenario.

For brokered usage:

  recv.py amqp://<broker>/<queue>

  send.py -a amqp://<broker>/<queue> msg_1 ... msg_n

For peer to peer usage:

  # execute on <host> to receive messages from all local network interfaces
  recv.py amqp://~0.0.0.0

  send.py -a amqp://<host> msg_1 ... msg_n