apache > ws.apache
Apache Muse
 

Apache Muse - WSN Consumer Sample Project

This sample project provides a simple WS-Notification consumer that will listen for messages sent via wsnt:Notify and print them to the console. It is an excellent utility for testing WS-resources that publish events via WSN. The simple message listener that is set up to print out the incoming events can be modified to include additional event-processing logic.

The router-entries directory contains an EPR for one instance of the consumer resource - you can subscribe this instance for notifications and it will be created when the application receives its first request and is initialized by the server.