Sha256: 7e85095a87513310a249e4df92bbed1bc26b5cb10839d161d02bf7249e95cea4
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
#!/usr/bin/env ruby require 'qpid_proton.rb' messenger = Qpid::Proton::Messenger::Messenger.new() messenger.outgoing_window = 10 message = Qpid::Proton::Message.new() address = ARGV[0] if not address then address = "0.0.0.0" end message.address = address message.body = "Hello World!" messenger.start() tracker = messenger.put(message) messenger.send() print "Status: ", messenger.status(tracker), "\n" messenger.stop()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qpid_proton-0.21.0 | tests/old_examples/send.rb |