ASF subversion and git services commented on QPID-7432:

Commit 550b62723bb6b80035961c93c05de4cbd0ab170e in qpid-cpp's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-cpp.git;h=550b627 ]

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:

        from qpid_messaging import Connection
        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 

> Make python management tools work over AMQP 1.0
> -----------------------------------------------
>                 Key: QPID-7432
>                 URL: https://issues.apache.org/jira/browse/QPID-7432
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>    Affects Versions: qpid-cpp-1.35.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
> The qpid management tools and the qpidtoollib python library should work over 
> AMQP 1.0. Verify and fix any issues.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to