Srinath, I do not notice any technical challenge in that from the perspective of Qpid/JMS semantics. I do not think we have a scenario like, a/b/c/d is a resource tree and we only need to subscribe to "b and c" (i.e. something in the middle). Anyway let me come up with a JMS POC for this.
Thanks, Danushka On Tue, Mar 1, 2011 at 6:33 AM, Srinath Perera <[email protected]> wrote: > Danushka, we need this done before MARS. If there are any technical > challenges in mapping this to qpid constructs, please let us know as > soon as possible. > --Srinath > > On Mon, Feb 28, 2011 at 8:56 PM, Afkham Azeez <[email protected]> wrote: > > During a discussion today, we (Sanjiva, Asanka, Srinath & I) thought that > it > > will be a good idea to use XPath-like syntax for selecting how to > subscribe > > to Registry resource paths. We could support only some simple scenarios, > and > > not the entire XPath syntax. Let me explain with an example. > > The RegistrySynchronizer needs to be notified when deployable artifacts > are > > changed in the Registry. Let's say these artifacts are stored in > > the _system/config/deployment/server/ path. Shown below is how the > > HelloService.aar is stored. > > /_system/config/deployment/server/service-groups/foo/bar/HelloService.aar > > These are the different way in which we can subscribe to different parts > of > > this hierarchy. > > 1. /_system/config/deployment/server > > Selects server resource only [1] > > 2. /_system/config/deployment/server/descendant::* > > Selects descendants of server only, does not select server. Selected > > elements wil be server, service-groups, foo, bar, and HelloService.aar > [1] > > 3. /_system/config/deployment/server/descendant-or-self::* > > Selects server and descendants. Selected elements wil be server, > > service-groups, foo, bar, and HelloService.aar [1] > > So, this standard syntax allows us to simply select a node and its > > descendants in different ways. > > Thoughts welcome. > > > > [1] XPath reference: http://zvon.org/comp/r/tut-XPath_1.html > > -- > > Afkham Azeez > > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > > > > Member; Apache Software Foundation; http://www.apache.org/ > > email: [email protected] cell: +94 77 3320919 > > blog: http://blog.afkham.org > > twitter: http://twitter.com/afkham_azeez > > linked-in: http://lk.linkedin.com/in/afkhamazeez > > > > Lean . Enterprise . Middleware > > > > _______________________________________________ > > Carbon-dev mailing list > > [email protected] > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > ============================ > Srinath Perera, Ph.D. > Senior Software Architect, WSO2 Inc. > Visiting Lecturer, University of Moratuwa > Member, Apache Software Foundation > Research Scientist, Lanka Software Foundation > Blog: http://srinathsview.blogspot.com/ > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
