You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Jose Alberto Fernandez Parejo <ja...@indra.es> on 2019/02/21 14:52:29 UTC
Qpid Proton vs Qpid C++
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
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++?
Thanks for your support.
Regards
________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.
This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: Qpid Proton vs Qpid C++
Posted by Gordon Sim <gs...@redhat.com>.
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: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org