Thanks Gordon. Rajika
On Mon, May 10, 2010 at 12:47 PM, Gordon Sim <[email protected]> wrote: > On 05/08/2010 07:07 PM, Rajika Kumarasiri wrote: > >> I agree that we need to have an consistent API for all the clients in c++, >> perl, python, ruby etc..which goes hand in hand with JMS and WCF client >> APIs. I saw the current APIs for c++ and python clients here[1] which >> looks >> great. Having the first version correct is important which should lead to >> easy maintain and extensible set of client APIs. >> > > That link references the docs for the old API. There is now a more uniform > API (in the messaging namespace in c++ and in the messaging module in > python). It wasn't finalised in time for the 0.6 release, but will be for > the next one. You can see it on trunk: > > https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp/include/qpid/messaging > > https://svn.apache.org/repos/asf/qpid/trunk/qpid/python/qpid/messaging > > There is also some overview documentation emerging at: > > > https://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml > > Jonathan has a snapshot of this at: > > > https://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/Programming-In-Apache-Qpid.xml > > This new API is much simpler on the c++ side, so is definitely the one to > look at. > > > I brefily looked at [2] which allows us to define various bindings[3] for >> c++ programs of course including perl. If we get the perl binding correct >> obviously we can extend that to support the other languages such as >> python, >> ruby etc.. (this will also let us to maintain only swig bindings for c++ >> clients without maintaining native clients as we use to do now, for ex: >> python, ruby). So as a POC I'll first look at how to implement the perl >> binding for C++ clients keeping the same API[1]. I'll keep the list >> update. >> > > Fantastic. > > > Rajika >> >> >> [1] - http://qpid.apache.org/docs/api/ >> [2] - http://www.swig.org/ >> [3] - http://www.swig.org/compat.html#SupportedLanguages >> >> >>> --Gordon. >>> >>> [1] http://www.swig.org/ >>> >>> >>> --------------------------------------------------------------------- >>> Apache Qpid - AMQP Messaging Implementation >>> Project: http://qpid.apache.org >>> Use/Interact: mailto:[email protected] >>> >>> >>> >> >> > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > -- http://rajikak.blogspot.com/
