« Return to Thread: WSRP property change notifications

WSRP property change notifications

by Jonas Buys-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Please forgive be about my ignorance of MUSE, as I am just starting to use it, but so far I'm *very* fond of it!

Unfortunately,
I am facing this rather peculiar issue.  I want to have WSRP change
notifications automatically published for an _internally changed_
metric variable.  To accomplish this task, I followed the procedure
described in
http://ws.apache.org/muse/docs/2.2.0/manual/how-to/publish-wsrp-notifications.html using the PropertyChangeListeners.

BUT
- even though the resource property document is correctly populated
with my defined properties and their values - the wsrp variable results
in null:
ResourcePropertyCollection wsrp = getWsResource().getPropertyCollection();
(code inside myCapab.java's initializeCompleted method).
The WsResource appears to be set correctly, I did a toString() for
 that.

Any help would be much appreciated!

Cheers, Jonas


 « Return to Thread: WSRP property change notifications