From c4932a4665864c9c8ed50bcaf5968e5b59c41157 Mon Sep 17 00:00:00 2001 From: Thomas Peetz Date: Fri, 31 Jul 2026 04:07:07 +0200 Subject: [PATCH] use msgspec to parse message --- kontor-scripts/read_queue.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kontor-scripts/read_queue.py b/kontor-scripts/read_queue.py index dc3ae9f..bc29f0d 100644 --- a/kontor-scripts/read_queue.py +++ b/kontor-scripts/read_queue.py @@ -68,13 +68,11 @@ if __name__ == '__main__': host = [(args.server, args.port)] conn_add = stomp.Connection(host_and_ports=host) conn_add.set_listener('', AddLinkListener(logger, conn_add)) - conn_add.start() conn_add.connect(username='artemis', passcode='artemis', wait=True) conn_add.subscribe(destination='add_link', id=1, ack='auto', headers={}) conn_update = stomp.Connection(host_and_ports=host) conn_update.set_listener('', UpdateTitleListener(logger, conn_update)) - conn_update.start() conn_update.connect(username='artemis', passcode='artemis', wait=True) conn_update.subscribe(destination='update_title', id=1, ack='auto', headers={}) time.sleep(5)