commit | 550b62723bb6b80035961c93c05de4cbd0ab170e | [log] [tgz] |
---|---|---|
author | Alan Conway <aconway@redhat.com> | Wed Sep 21 15:54:08 2016 -0400 |
committer | Alan Conway <aconway@redhat.com> | Wed Sep 21 16:23:47 2016 -0400 |
tree | 32173e26f74eb981c65b2f01c978194838192c90 | |
parent | 7ca027022830646ddeb65f137086aba2f98cf5a7 [diff] |
QPID-7432: Make python management tools work over AMQP 1.0 Two bugs in qpid_messaging found and fixed, required for qpidtoollibs to work: - incorrect encoding of python Unicode strings, assumed default-encoding=UTF8. - bug in Message.content decoding an empty list or map body. With those fixes, the existing qpidtoollibs works with AMQP 1.0 if you use a qpid_messaging.Connection instead of a qpid.messaging.Connection. qpid_messaging implements the same API as qpid.messaging, but using SWIG over the C++ codec which supports AMQP 1.0. An existing tool can be updated to prefer qpid_messaging as follows: try: from qpid_messaging import Connection except: from qpid.messaging import Connection Or if you don't care about qpid.messaging you can simply import qpid_messaging. NOTE: qpid-route does NOT work on AMQP1.0, as it is based on an older client. Raise a new issue if that also needs to be ported to qpidtoollibs for 1.0 support.
Qpid C++ is a C++ implementation of the AMQP protocol described at http://amqp.org/.
For additional software or information on the Qpid project go to:
For documentation, go to:
In C++ distributions:
mkdir BLD # The recommended way to use cmake is in a separate # build directory cd BLD cmake .. # Generates code and makefiles make test # Runs tests make install # Installs the client and daemon
The INSTALL.txt notes contain more detailed information on compiling and installing this software.
examples/README.txt describes the C++ client API examples.