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 (Commented) (JIRA)" <ji...@apache.org> on 2011/12/13 19:42:30 UTC
[jira] [Commented] (QPID-3681) A Python Example using registered
listeners/callbacks
[ https://issues.apache.org/jira/browse/QPID-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168597#comment-13168597 ]
William Henry commented on QPID-3681:
-------------------------------------
You do not have to do anything special to run this. Simply run from command line while the qpidd (service) is running.
> 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
>
> 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