On 21/02/2019 2:52 pm, Jose Alberto Fernandez Parejo wrote:
Hello All,
We have to connect a C application to an AMQP1.0 peer (rabbitmq and
other gateway using AMQP1.0).
We plan to create a simple interface with basic oriented connection
primitives (open, connect, send, received, close,...) in order to be
easy to change the current SW to connect to AMQP connection.
We have installed and make tests with qpid proton and qpi c++.
For qpid c++ we have seen a basic correspondence with what we intent to
do :
(1) Establishes the connection
(2) Creates a session
(3) Creates a receiver
(4) Creates a sender that sends
(5) Receives the message
(6) Closes the connection
But for qpid proton, this basic correspondence cannot be set
Not sure exactly what you mean there but you can certainly do all of
those things with the proton c++ API. In fact you can probably use the
simple_recv.cpp example as is and run it against rabbitmq.
Since qpid c++ needs qpid proton for AMQP1.0 support. We are wondering
if, qpid proton has this basic primitive correspondence?
what are the C/C++ API differences between qpid proton and qpid c++?
The biggest difference really is one of API style. The proton c++ api is
event driven, the qpid::messaging API is more synchronous, with library
controlled IO thread(s) distinct from the applictaion thread.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]