I'm using the synchronous client. Pretty much exactly as the example says!
When activemq 'disconnects' my client, it just seems to unload it. Stompest doesn't see it, and the tcp connection stays open.
So, I guess this is a basic python question, but if I'm running the client in a while loop... how can I make sure I stay connected?
Would using the session method help me? (I've not been able to quite figure out how to make a session actually connect and subscribe to a topic.)
I tried setting up heartbeat, but it complains about an ID header. (I see an older mail about this, perhaps I just need to set an id header argument in the client.subscribe() function...)
Or, do I somehow run my connection on a timer, and re-authenticate and reconnect every 4 minutes? (This definitely seems incorrect lol. And I'm not entirely sure how I would do that.)