From 50545c5e859ba60cf9c4c5c8343f1f17c46ebc6e Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Dec 08 2017 17:40:53 +0000 Subject: self.credentials is not a thing. I'm not sure how this made it in last time, but `self.credentials` is not defined, nor is it needed. All of the connection information should be stored in `self.connection`. Found via testing against a real live ActiveMQ broker. --- diff --git a/resultsdb/messaging.py b/resultsdb/messaging.py index 1bb9ae0..ab47126 100644 --- a/resultsdb/messaging.py +++ b/resultsdb/messaging.py @@ -127,7 +127,7 @@ class StompPlugin(MessagingPlugin): conn = self.stomp.Connection(**self.connection) conn.start() - conn.connect(**self.credentials) + conn.connect() try: conn.send(**kwargs) finally: