The Distributed Service Bus implements the PetalsLink easy* frameworks. This page gives more details on the implementation.
EasyResource
[EasyResource] API provides some ways to synchronize frameworks/platforms together. The initial goal of this API is to be able to get existing resources (i.e. mainly endpoints) and to be notified when resources appears and disappears (with the help of WS Notification implementation). Implementation can be summarized as:
- The DSB exposes the resource API on http://localhost:7600/petals/ws/ExecutionEnvironmentManager (change host if needed...)
- The DSB kernel provides a topic for resources. This topic is ?defined with NS = http://www.petalslink.org/resources/event/1.0_ and LocalPart = CreationResourcesTopic.
Interested parties have to subscribe to this topic using WS-Notification to be notified when new resources appear or disappear (More details on WS-Notification support is given in the WSN support section). Once the subscription is effective, the subscriber will receive WS-N Notify message which contains the ID and type of the resources.
A sample of SOAP notification message emitted by the kernel notification engine when a new endpoint is created is:
RuntimeServicePort of type endpoint.