I tried to setup Apache Qpid on Ubuntu 18.04 doing the following:
sudo add-apt-repository ppa:qpid/released
sudo apt install qpidd
which gave me:
qpidd/bionic,now 1.39.0-3qpid+bionic1 amd64 [installed]
I then tried using the tutorial example:
—
from __future__ import print_function, unicode_literals
from proton import Message
from proton.handlers import MessagingHandler
from proton.reactor import Container
class HelloWorld(MessagingHandler):
def __init__(self, server, address):
super(HelloWorld, self).__init__()
self.server = server
self.address = address
def on_start(self, event):
conn = event.container.connect(self.server)
event.container.create_receiver(conn, self.address)
event.container.create_sender(conn, self.address)
def on_sendable(self, event):
event.sender.send(Message(body="Hello World!"))
event.sender.close()
def on_message(self, event):
print(event.message.body)
event.connection.close()
Container(HelloWorld("localhost:5672", "examples")).run()
—
This happens:
python tut.py
ERROR:root:Node not found: examples
ERROR:root:Node not found: examples
—
and the server says pretty much the same thing:
sudo journalctl -u qpidd --since '4 min ago'
-- Logs begin at Tue 2019-06-18 09:30:35 EDT, end at Thu 2020-09-03 09:48:05
EDT. --
Sep 03 09:46:53 nmrdev qpidd[2604067]: 2020-09-03 09:46:53 [Protocol] error
Error on attach: Node not found: examples
--
Gerard Weatherby | Application Architect
NMRbox | Department of Molecular Biology and Biophysics | UConn Health
263 Farmington Avenue, Farmington, CT 06030-6406
uchc.edu<http://uchc.edu>