Hi all,

I am new to qpid proton. I've been reading the docs a lot, but can't find
any easy way to integrate qpid proton with other event loops.

I have a big application split into several processes using Qt for GUI and
ACE library for all communications, the 2 integrate nicely with
ACE_QtReactor event loop. I would like to port some parts of the
application to qpid, because it offers lots of nice functionalities that
are not implemented in ACE, namely LVQ and Dispatch.

An easy way would be to get hold of the TCP socket used by qpid client to
communicate with the broker, and add an ACE event handler for that socket
(and from that event handler call qpid callbacks). But I can't find
anywhere how to retrieve the socket handle. Is it not implemented at all
(on purpose) or is it just not documented anywhere?

​I also read about the connection engine. ​
The documentation
​states
: 'A connection_engine
<https://qpid.apache.org/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1connection__engine.html>
is
a protocol engine that integrates AMQP into any IO or concurrency
framework." but it's not very clear how this thing works, it looks like to
integrate other event loop into qpid, and not the other way around....

Thanks for your help,
Faycal

Reply via email to