qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Giusti" <kgiu...@apache.org>
Subject Re: Review Request 30640: Provide a means to invoke a callback when a message has arrived.
Date Wed, 11 Feb 2015 14:54:59 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30640/
-----------------------------------------------------------

(Updated Feb. 11, 2015, 2:54 p.m.)


Review request for qpid, Gordon Sim and Justin Ross.


Changes
-------

Thanks for the feedback Justin - I think that change will make things much clearer.


Bugs: QPID-5799
    https://issues.apache.org/jira/browse/QPID-5799


Repository: qpid


Description
-------

The patch provides an API to supply a callback that gets invoked when a message has arrived
on a session.  This callback can be used to signal the application thread that a message is
ready for processing.

This patch will address QPID-5799 by giving the user the ability to wake up their application
thread that is waiting in an epoll loop.  In this case the callback will simply write to a
socket that is being monitored by the epoll loop.


Diffs (updated)
-----

  trunk/qpid/python/qpid/messaging/driver.py 1658941 
  trunk/qpid/python/qpid/messaging/endpoints.py 1658941 
  trunk/qpid/python/qpid/tests/messaging/endpoints.py 1658941 

Diff: https://reviews.apache.org/r/30640/diff/


Testing
-------

Added a specific test case.


Thanks,

Kenneth Giusti


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message