Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The WS-Notification support is currently implemented as a POJO; POJOs which can then either be called directly inside an application or can be wrapped up as a remote web service using some web service stack such as ActiveSOAPa JAX-WS compliant SOAP stack. We are currently using the JAX WS RI which is licensed under CDDL.

For more detail, try the javadocs of the core services and APIs.
We have interfaces for the WS-Notification services in the org. servicemix.ws.notification package. These interfaces just depend on the XMLBeans generated from the WSDLs.

e.g. here's the NotificationConsumer interface

Using WS-Notification

To be able to publish or subscribe you need either a NotificationConsumer or NotificationBroker. The current implementation of both is the ActiveMQNotificationBroker - which will create a connection to an ActiveMQ broker (by default making an embedded broker inside the same JVM].

...

Wiki Markup
{snippet:id=notify|lang=java|url=http://cvs.servicemix.codehaus.org/servicemix/ws/jaxws/wspojo/src/test/java/org/servicemix/ws/notification/impl/TestSupport.java?rev=HEAD}

...

Wiki Markup
{snippet:id=subscribe|lang=java|url=http://cvs.servicemix.codehaus.org/servicemix/ws/jaxws/wspojo/src/test/java/org/servicemix/ws/notification/impl/TestSupport.java?rev=HEAD}

...