I had the need for a python STOMP implementation and this looked to be a great start.
Heartbeats were not working correctly so I have implemented a fix, please take a look and see what you think.
Issues were:
heartbeat timers continued after engine was disconnected
any message received via the socket should be considered the last communication
allow some flex in the last heartbeat received before closing the connection (perhaps I have flexed this too much at 2*interval)
I had the need for a python STOMP implementation and this looked to be a great start. Heartbeats were not working correctly so I have implemented a fix, please take a look and see what you think.
Issues were: heartbeat timers continued after engine was disconnected any message received via the socket should be considered the last communication allow some flex in the last heartbeat received before closing the connection (perhaps I have flexed this too much at 2*interval)