kannan <kannaninf...@gmail.com> added the comment:
As you said we are using a threaded consumers in which main thread will create connection and listener thread will receive message. We are passing main thread object to listener to acknowledge the message using connection object (conn.ack) in connection class self.conn = activemq stomp connection self.listener_obj = ConsumerListener(self) in listener class self.conn = conn_obj_from_main_thread self.conn.ack(msg_id, subscription) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42166> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com