jazzcat2 wrote:
Howdy Folks,
I'm looking for a complete simple example of how to, using Python-QPid:
1. Open connection to queue manager,
2. establish a send and recv queues,
3. Wait for msgs to appear on recv queue,
4. process answer,
5. Deposit msg on send queue.
I have hacked something together, and it is attached. However, it doesn't
work. When it gets to the client.start line on line 22, something in the
client.py code - specifically, when client.py tries to do a connection_open,
it raises a Closed exception.
What broker are you running it against? Can you send the output from the
server?
I tried the code and with some minor tweaks got it running (at least to
the point where the queues are created and the receive queue is
subscribed to).