On Mon, Aug 30, 2010 at 9:56 AM, Srinath Perera <srin...@wso2.com> wrote:
> Hi Ajith, > > How about this for a usecase. > > Say I have a business that sells watches online, and if the average > value of watches sold in a day has increased by more than 20%, I want > to know (or increased by 10000LKR). for this cep query may look like this select * from InventoryData.win:time(24 hour) having avg(value) > 1.2*x Here it takes the last 24 hours rather than the starting from a particular day and assume average is x. In CEP point of view it can subscribe to any broker to get messages and publish the events to any broker. thanks, Amila. > Justification is that I want to > adjust my next orders from manufacturers accordingly. > > Now how easy is to do this through BAM and CEP (using generic > constructs as much as possible)? > > Thanks > Srinath > > On Fri, Aug 27, 2010 at 7:57 PM, Ajith Vitharana <aji...@wso2.com> wrote: > > > > The root element has missed in the earlier attached cep-component.conf > file > > :( > > > > correct one attached . > > > > Thanks > > ajithn > > > > _______________________________________________ > > Carbon-dev mailing list > > Carbon-dev@wso2.org > > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > ============================ > Srinath Perera, Ph.D. > WSO2 Inc. http://wso2.com > Blog: http://srinathsview.blogspot.com/ > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev