here is a good bindings example:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf...
In the agent proxy class is where the querying happens which is
essentially what ive done in order to be able to interact with the
agent that raised the event.
( adam stokes ) || ( adam.stokes(a)gmail.com )
On Sat, May 7, 2011 at 2:48 PM, Russell Bryant
<russell(a)russellbryant.net> wrote:
On Sat, May 7, 2011 at 10:50 AM, Adam Stokes
<adam.stokes(a)gmail.com> wrote:
> Have you been able to access the agent methods from the event raised?
> Ive been trying to figure out how to do it without going through the
> query
Nope. I haven't done anything more than getting a connection up to
the broker, and printing a message when an agent comes and goes, and
when an event is received. It's not doing any filtering, either. I
used it to see events coming back from a status change after using the
status method on the Services agent and that seemed to work. I'll
keep playing around with it later, though, and let you know if I learn
anything I think you might find helpful.
For reference, here is a more live link to the code than the original list post:
https://github.com/russellb/matahari/blob/pyeventmon/src/utils/qmfeventmo...
--
Russell Bryant