Hi Amal, Messages are not getting received after this modification. I noticed very less number of messages getting published too. No modification on registry kernel side is made.
Shazni Nazeer Senior Software Engineer Mob : +94 715 440 607 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com On Tue, May 13, 2014 at 6:04 PM, Afkham Azeez <az...@wso2.com> wrote: > > > > On Tue, May 13, 2014 at 4:30 PM, Amal Gunatilake <am...@wso2.com> wrote: > >> Hi All, >> >> Following updates has been discussed on $subject. >> >> 1) The isCoordinator check is not necessary for publishing the cache >> invalidation message. >> 2) Separate the implementation of publisher and subscriber into 2 >> classes. >> 3) Alter the implementation to support, when the isCoordinator node goes >> down; the next coordinator node should get auto subscribe to the topic. >> >> The 3rd point was discussed to implement as follows: >> >> The osgi service implementation bundle will be present at all nodes. So >> it will check whether "Am I the coordinator?" in a given time interval >> (This time interval can be configured in cache.xml). When one node goes >> down then the next coordinator will become the coordinator. At this point >> "Am I the coordinator?" will get the response and it will subscribe it-self >> to the topic. >> > > There is a better way of implementing this. When a node becomes a > coordinator, it would notify all OSGi services which implement that > interface. I already have this implemented in C5 kernel (must check). We > need to bring that back in. Rather than have a task that checks whether I > am the coordinator, we should use this notification based mechanism. > > >> >> Please update the thread if there are any further updates. >> >> Thank you & Best regards, >> >> *Amal Gunatilake* >> Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> > > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>* > *email: **az...@wso2.com* <az...@wso2.com> > * cell: +94 77 3320919 <%2B94%2077%203320919> blog: * > *http://blog.afkham.org* <http://blog.afkham.org> > *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * linked-in: **http://lk.linkedin.com/in/afkhamazeez > <http://lk.linkedin.com/in/afkhamazeez>* > > *Lean . Enterprise . Middleware* >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev