RE: [EXTERNAL]: Re: Python Proton Binding on Receiver for Broker

2022-04-28 Thread ONeil, Jerome
Hey Steve, Thanks for the reply. I’m pretty sure I’ve extracted that code a few times, too.  I’d really like to do this all in Proton, though, for a couple reasons. Using a single library is on the list somewhere, and it will run in a pretty restricted environment. And also right up

Re: Python Proton Binding on Receiver for Broker

2022-04-28 Thread Steve Huston
Hi Jerome, You can do that with the Python QMF API. I extracted the below from another script so it may need some adjustments but should get you there. -Steve import os import sys from qpid import * import qpid.messaging host="localhost" port=5672 sock = util.connect(host, port) qmf_con =

Python Proton Binding on Receiver for Broker

2022-04-28 Thread ONeil, Jerome
Hello, I am trying to set up a receiver for a topic on a qpid C++ broker and need to control the binding between the Source exchange and the receiver queue. I can get a simple receiver set up just fine and pull messages from it. >>> event.container.create_receiver("amqp://localhost/MyTopic")

RE: Poor performance with Session in qpid-cpp

2022-04-28 Thread Millieret, Xavier
Hi Robbie, Just my feedback. Effectively, when I use the latest libqpid-proton-cpp release (i.e. 0.37.0), it's better, and works fine. Moreover, on each methods (receive, send, unreceive) I used with my connection object the following code (and more especially work_queue().add .) So to