The qpid::client API is an older API that is more closely tied to the inner-workings of the AMQP 0-10 protocol.
The qpid::messaging API is newer and is generally recommended as the API to use for new development effort. It is designed to abstract away from protocol-specific details. This will allow the API to support newer versions of the AMQP protocol without needing major modifications going forward. Hope this helps, Andy On Jan 26, 2012, at 6:10 AM, Davide Anastasia wrote: > Hi, > > Can anybody explain me what the difference between > qpid::messaging::Message and qpid::client::Message is? > > I am trying to use VariantMap into the pub/sub example, but encode( ) is > only supported for qpid::messaging::Message. > > > > Best, > > > > Davide Anastasia > Analyst, Research & Development > > > Quality Capital Management Ltd. > QCM House * Horizon Business Village > No. 1 Brooklands Road > Weybridge * Surrey KT13 0TJ > United Kingdom > > Tel: +44 (0) 1932 334 400 > Fax: +44 (0) 1932 334 415 > Email: [email protected] > <mailto:[email protected]> > > www.qualitycapital.com <http://www.qualitycapital.com/> > > ________________________________ > > This email and any attachments are confidential and intended solely for > the use of the individual(s) to whom it is addressed. > > Any views or opinions presented are solely those of the author and do > not necessarily represent those of Quality Capital Management Ltd. If > you are not the intended recipient, be advised that you have received > this email in error and that any use, dissemination, printing, > forwarding or copying of this email is strictly prohibited. Please > contact the sender if you have received this email in error. You should > also be aware that emails are susceptible to interference and you should > not assume that the contents of this email originated from the sender > above or that they have been accurately reproduced in their original > form. Quality Capital Management Ltd is authorised and regulated by the > Financial Services Authority in the UK and is a member of the National > Futures Association in the US. > > ________________________________ > > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
