Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2402

Clarify proton python documentation on thread-safety and when certain callbacks are called

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • proton-c-0.34.0
    • None
    • python-binding
    • None

    Description

      The Python documentation does not state the following explicitely which caused some confusion on my end:

      • on_settled is triggered on the disposition settled on remote side
      • Container & other proton datastructures are NOT thread safe, use injector for external thread communication
      • on_sendable is called on each received flow event & after send if there are still credits available.

       

      PR: https://github.com/apache/qpid-proton/pull/324

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sebastiaan NS-SlaFleur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: