You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Gul Onural <on...@nortel.com> on 2007/05/03 05:04:35 UTC

MessageInterval

I am going through the Muse tutorial and I was wondering why there is a
member variable called MessageInterval
in the MyCapabilityImpl which extends AbstractWsResourceCapability. Why
is it needed? I thought the producer
would send a notification  when the event that the Consumer is
interested in occurs, rather than using an interval. 
So, I guess my question is for what purpose the MessageInterval is used
?

Gul




Re: MessageInterval

Posted by Daniel Jemiolo <da...@us.ibm.com>.
The MessageInterval is just a sample property used to illustrate a custom, 
mutable resource property. We wanted one that fit with the sample (WSN 
stuff), so we used MessageInterval to control when the messages are sent 
out. This was a lot easier than trying to generate real events from a real 
IT resource on your system.

Dan



"Gul Onural" <on...@nortel.com> wrote on 05/02/2007 11:04:35 PM:

> I am going through the Muse tutorial and I was wondering why there is a
> member variable called MessageInterval
> in the MyCapabilityImpl which extends AbstractWsResourceCapability. Why
> is it needed? I thought the producer
> would send a notification  when the event that the Consumer is
> interested in occurs, rather than using an interval. 
> So, I guess my question is for what purpose the MessageInterval is used
> ?
> 
> Gul
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org