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

A Python Example using registered listeners/callbacks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 0.12
    • None
    • Python Examples
    • 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

            jross Justin Ross
            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