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

[python] Some examples use undocumented messaging handlers

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: examples, python-binding
    • Labels:
      None

      Description

      The Sphinx documentation will only document the following handlers:

      • MessagingHandler
      • TransactionHandler
      • TransactionalClientHandler (which is derived from MessagingHandler and TransactionHandler)

      However, the examples are using other handlers as follows:

      • helloworld_blocking.py uses IncomingMessageHandler
      • proton_tornado.py imports IOHandler
      • server_tx.py imports both MessagingHandler, TransactionHandler (perhaps it should use TransactionalClientHandler?)
      • sync_client.py uses IncomingMessageHandler
      • tx_recv_interactive.py imports both MessagingHandler, TransactionHandler (use TransactionalClientHandler?)
      • tx_recv.py uses both MessagingHandler, TransactionHandler (use TransactionalClientHandler?)

      These examples need to be checked for consistency and if appropriate, modified to use the documented handler(s).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kpvdr Kim van der Riet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: