qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3333) Make Python SWIG bindings a drop-in replacement for pure Python qpid.messaging package
Date Wed, 06 Jul 2011 09:15:26 GMT

    [ https://issues.apache.org/jira/browse/QPID-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060422#comment-13060422
] 

Gordon Sim commented on QPID-3333:
----------------------------------

The only changes other than the import were around the connection options which I changed
to explicitly use setOption(). Looking at the swig input file and the changes you made already
it seemed like that would be easy to resolve as well (I just didn't have time right then).
One other thing that would be nice would be getting the string representation of a message
to work as in qpid.messaging (not as important, but nice to have and based again on your existing
changes looked straightforward to a SWIG novice!).

On the imports I just changed:

{noformat}
< from qpid.messaging import *
---
> from cqpid import *
> from qpid.datatypes import uuid4
{noformat}

> Make Python SWIG bindings a drop-in replacement for pure Python qpid.messaging package
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-3333
>                 URL: https://issues.apache.org/jira/browse/QPID-3333
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Client
>    Affects Versions: 0.11, Future
>            Reporter: Anthony Foglia
>         Attachments: 0001-Wrap-NoMessageAvailable-as-Empty-exception.patch, 0002-Change-Connection-interface-to-match-pure-python.patch,
0003-Change-Session-interface-to-match-pure-python.patch, 0004-Change-Receiver-interface-to-match-pure-python.patch,
0005-Change-Sender-interface-to-match-pure-python.patch, 0006-Change-Message-interface-to-match-pure-python.patch
>
>
> These patches are make the compile Python SWIG bindings to the C++ client much closer
to a drop-in replacement for the Python qpid.messaging package.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message