You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "William Henry (Updated) (JIRA)" <ji...@apache.org> on 2012/01/05 19:50:39 UTC
[jira] [Updated] (QPID-3681) A Python Example using registered
listeners/callbacks
[ https://issues.apache.org/jira/browse/QPID-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Henry updated QPID-3681:
--------------------------------
Attachment: multisession_with_listener
This version defines a Listener class and a SessionsConnection class that handles listening across multiple sessions.
> 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
> Attachments: callbacks, multisession_with_listener
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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:dev-subscribe@qpid.apache.org