On Fri, Nov 22, 2013 at 7:44 AM, Udara Liyanage <[email protected]> wrote:

> I guess chain of responsibility model is not only for topology event
> processing. It is supposed to use for other event processing also.
>
+1 for implementing chain of responsibility. That is a good approach.
But if your message is always has 3 values, then it is fine to get the
values directly and process there itself.

I think for CEP events, values are following,

Event name, relevant id(cluster id/ member id), and the value.


Anyway implementing chain of responsibility is a scalable model(in a case
we get different types in the future).

> Touched, not typed. Erroneous words are a feature, not a typo.
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to