[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsn] Subscribe and GetCurrentMessage
Could you work through in detail how this would happen? I believe we're up against an egg-unscrambling problem here. On the one hand, there will be cases when the NP knows exactly which updates came after which snapshot. A common case would be an NP which locks the database for updates during a snapshot. It will be able to tell which updates came in before the lock and which came after. It can therefore easily send the snapshot to the consumer, followed by exactly the right updates. Here are the problems I see under the current setup:
Samuel Meder wrote: Another way of doing this that does not require WSRF-RP is to model your topics in a way that allows for this: A top level topic for the whole document (which you can call getCurrentMessage() on) and sub-topic for fields in the document (which you would subscribe to), or even just a single "update" sub-topic. That in combination with appropriate use of timestamps should be able to address your problem. /Sam On Tue, 2004-11-23 at 16:43 -0500, David Hull wrote:Steve Graham wrote:David Hull <dmh@tibco.com> wrote on 11/22/2004 04:48:34 PM:One useful pub/sub paradigm involves the concept of notificationsas updates tosome collection of state.Indeed, this is what WSRF-Resource Properties suggests.In such cases, it is useful to be able to take a snapshot of the state, then be notified of updates to that state.Agreed. GetResourcePropertyDocument, followed by a subscribe operation specifying which Resource properties (bits of state) the consumer should receive value change notifications.Minus whatever changes happened between the get and the subscribe. Or plus whatever changes happened between the subscribe and the get. In any case, we want to be able to cover snapshot/update scenarios where the state is not presented as a WS-Resource. Or at least I would like that. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]