Hi Guys:

I got some trouble when tried to develop a WSN notify message consumer
service for the File_System example in MUSE. I have installed Apache Muse
and PubScribe in Tomcat and successfully deploy the File_System examples. In
PubScribe, the notify message is successfully delivered to the consumer
service when the value of File_System property changed. 

Then I want to test whether the notify message from Muse File_System can be
delivered to a message consumer. First I subscribe the
"muws-p2-xs:OperationalStatus" topic and set the consumer to 

<wsnt:ConsumerReference>
 
<wsa:Address>http://localhost:8080/pubscribe/services/consumer</wsa:Address>
<wsa:ReferenceProperties/>

The subscribe is successfully. And then I change the OperationalStatus by
send the "mount.soap" to "http://localhost:8080/muse/services/filesystem";, I
have checked that the property value changed. But the service consumer did
not receive any notify message! 

I notice that in the FilesystemService.java file, the following code is used
to publish a message

statusTopic.propertyChanged(statusChangeEvent);  // publish the event

Q1: Does this line of code also send a notify message to registered message
consumer? 

Q2: If not, how to make the File_System service send a notify message when
the property value changed?

Q3: What is the right way to develop a notify message consumer to the
File_System example in Muse??

Pls help! Any suggestion is welcome!!

Reply via email to