I'm trying to connect to the Darwin push port using python and the stomp.py stomp library [1] but running into difficulties. Connecting and heartbeats work fine, but as soon as I try to subscribe to the queue, the server terminates my connection. A stripped down version of the code I'm using is here [2]. I'm not sure this is necessarily relevant, but the exact same code works fine for the Network Rail stomp message queues (VSTP, Train Movements, etc).
Has anyone out there managed to get the push port working in python yet? If so, would you care to share a sample of your code, or to point out where I'm going wrong?