Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3681

A Python Example using registered listeners/callbacks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 0.12
    • Fix Version/s: None
    • Component/s: Python Examples
    • Labels:
      None

      Description

      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.

        Attachments

        1. callbacks
          2 kB
          William Henry
        2. multisession_with_listener
          3 kB
          William Henry
        3. multisession_with_listener
          3 kB
          William Henry

          Activity

            People

            • Assignee:
              jross Justin Ross
              Reporter:
              whenry William Henry
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified