You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Grzegorz Swiatek <g....@teles.at> on 2011/02/02 13:13:10 UTC
C++ namespaces question
Hi,
I see that there are two similar interfaces qpid::client and
qpid::messaging.
Both contains Connection, Session and Message classes.
What is the difference between those classes in the various namespaces?
Sorry if the question is stupid, but I am just starting with Qpid and it
is a little bit confusing for me.
I tried to use classes from qpid::client, but now I not sure if it is
the proper way. Probably I should use qpid::messaging
Regards,
Grzegorz
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: C++ namespaces question
Posted by Jonathan Robie <jo...@redhat.com>.
On 02/02/2011 07:35 AM, Bruno Matos wrote:
> Hi,
>
> Short answer:
> qpid::messaging is a high level API, easier to use than qpid::client.
It's also the newer API, the one we are focusing on for new development,
and the one that is featured in our documentation.
Use qpid::messaging.
Jonathan
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: C++ namespaces question
Posted by Bruno Matos <br...@paradigmaxis.pt>.
Hi,
Short answer:
qpid::messaging is a high level API, easier to use than qpid::client.
Regards,
Bruno Matos
On 2011/02/02, at 12:13, Grzegorz Swiatek wrote:
> Hi,
>
> I see that there are two similar interfaces qpid::client and
> qpid::messaging.
>
> Both contains Connection, Session and Message classes.
>
> What is the difference between those classes in the various
> namespaces?
>
> Sorry if the question is stupid, but I am just starting with Qpid
> and it is a little bit confusing for me.
>
> I tried to use classes from qpid::client, but now I not sure if it
> is the proper way. Probably I should use qpid::messaging
>
> Regards,
> Grzegorz
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
--
Bruno Matos
bruno.matos@paradigmaxis.pt
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org