“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.
Apache License 2.0
491
stars
167
forks
source link
Get response for send() in stomp.py to retry in case of failure #407
Below is my listener class with the subscriber
Below is my producer code
I need to get the result/status of sent data, in order use that status to retry in case of failover
I know this details can be received in on_send listener
on_send SEND {'content-length': 5, 'destination': '/queue/test'} b'a test message'
But for this I need to create a class inheriting ConnectionListener, and add method on_send Listener to get the response.
Is it possible to get the response without creating any class?
Thanks again!
@jasonrbriggs