|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (5)
View Page History
h4. Configuration
h2.
The monitoring configuration file is available at DSB_HOME/conf/monitoring.cfg (a standard property file with key/value pairs). Parameters are:

h4. Configuration
* The WSN implementation provides an API to activate/deactivate monitoring (org.petalslink.dsb.ws.api.PubSubMonitoringManager) and get some additional information about the WSN monitoring stuff. This API is automatically exposed by the DSB as a Web service at startup and is available at [http://HOST:PORT/petals/ws/PubSubMonitoringManager].
* To receive notifications containing the monitoring data, interested parties must subscribe to the monitoring topic which is defined as a complete QName:
** name : MonitoringTopic
** name : MonitoringTopic
** NS : [http://www.petalslink.org/dsb/topicsns/]
** prefix : dsb

</soapenv:Body>
</soapenv:Envelope>{code}
</soapenv:Envelope>{code}
In the previous snippet, each time a monitoring message is published to the MonitoringTopic, the subscriber will receive a notification at [http://localhost:9001/MonitoringSubscriber].
More information on how to use WSN stuff and clients are explained in the WSN Page.
h4. Code
All the code of this implementation is located in the dsb-kernel-pubsubmonitoringservice module.