A Python Example using registered listeners/callbacks
-----------------------------------------------------

                 Key: QPID-3681
                 URL: https://issues.apache.org/jira/browse/QPID-3681
             Project: Qpid
          Issue Type: Improvement
          Components: Qpid Examples
    Affects Versions: 0.12
            Reporter: William Henry


The attached example demonstrates how to register a callback function in Python 
when using multiple Receivers. 

The next_receiver() can be used to lookup a map of registered callbacks. The 
callback is called with the message for specialized handling based on the 
receiver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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:[email protected]

Reply via email to