Qpid Proton
  1. Qpid Proton
  2. PROTON-231

Allow messenger to be used inside an event loop

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None

      Description

      We use proton in multithreaded application. Network part is run by a separate threadpool (currently singlethreaded) but it needfs it's own event loop.

      The code below allows us to use messenger api in this context, before we can invest the time to switch to using the engine directly.

      https://github.com/ttlj/qpid-proton/commits/upstream-wakeup

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1502346 from rhs@apache.org
        [ https://svn.apache.org/r1502346 ]

        Added several related messenger features: non blocking mode, pn_messenger_work, pn_messenger_interrupt, optional arg to pn_messenger_send. Also added basic non blocking smoke test for messenger in ruby and python. These address PROTON-231.

        Show
        ASF subversion and git services added a comment - Commit 1502346 from rhs@apache.org [ https://svn.apache.org/r1502346 ] Added several related messenger features: non blocking mode, pn_messenger_work, pn_messenger_interrupt, optional arg to pn_messenger_send. Also added basic non blocking smoke test for messenger in ruby and python. These address PROTON-231 .
        Hide
        Rafael H. Schloming added a comment -

        I believe the new API improvements should cover this. Please have a look and either reopen or file a new JIRA if there are any missing pieces.

        Show
        Rafael H. Schloming added a comment - I believe the new API improvements should cover this. Please have a look and either reopen or file a new JIRA if there are any missing pieces.

          People

          • Assignee:
            Rafael H. Schloming
            Reporter:
            Bozo Dragojevic
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development