You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2018/03/14 03:22:00 UTC

[jira] [Closed] (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 ]

Justin Ross closed QPID-3681.
-----------------------------
    Resolution: Won't Do

This is now handled in our reactive API, Proton.

> 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: Python Examples
>    Affects Versions: 0.12
>            Reporter: William Henry
>            Assignee: Justin Ross
>            Priority: Major
>         Attachments: callbacks, multisession_with_listener, 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 was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org