You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Anthony Foglia (JIRA)" <ji...@apache.org> on 2011/06/30 21:26:28 UTC

[jira] [Updated] (QPID-3333) Make Python SWIG bindings a drop-in replacement for pure Python qpid.messaging package

     [ https://issues.apache.org/jira/browse/QPID-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Foglia updated QPID-3333:
---------------------------------

    Attachment: 0006-Change-Message-interface-to-match-pure-python.patch
                0005-Change-Sender-interface-to-match-pure-python.patch
                0004-Change-Receiver-interface-to-match-pure-python.patch
                0003-Change-Session-interface-to-match-pure-python.patch
                0002-Change-Connection-interface-to-match-pure-python.patch
                0001-Wrap-NoMessageAvailable-as-Empty-exception.patch

These patches are my progress so far in aligning the two APIs.  It's not perfect, but it's good enough to cover our current use case.  It's ready for wider testing, and any other advice on getting these patches in the next version.

Among the areas that still need improvement:
* Exceptions: Only the NoMessagesFound <-> Empty translation is currently done.  And no work has been done on building a heirarchy as in the pure Python API
* Dispositions: No work has been done.  Trying to use them will throw an exception.

They only affect cpp/bindings/qpid/python/python.i file, so nothing but the Python SWIG wrappers will be affected.

> 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