Hi all,

I am working on a small prototype of event processing with Esper. To model 
events I am using the Event class from the EventAdmin bundle. 
My problem is that I don't know how to retrieve the attributes of an event in a 
statement. For example I have an event with the topic MarketData with the 
properties (product, price, volume)
and I would like to retrieve only the events with the attribute product="p1".
Something like the following:

select * from MarketData.win:time(10 sec) where topic="MarketData" and 
product="p1"

But this statement troughs an error "Error validating expression: Property 
named 'price' is not valid in any stream", so I guess this is not the right 
way...

Did any of you had experience with Esper on OSGI?

I would appreciate your help,
Laura



      

Reply via email to