My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 10, 2008 by ChrisFromTulsa
PersistentSubscriptions  
Subscriptions may be specified in advance of a service being available

Introduction

In order to support a system with well-known endpoints for services, it is necessary to have a method to define endpoints for message types in advance.

Details

Endpoint Resolution

To facilitate the resolution of endpoints, a static endpoint should be defined where subscription information requests can be sent. This endpoint should have a name that is configured throughout the system.

An example would be msmq://aserver/persistent_subscriptions, indicating a queue on a single server (or cluster) where the requests should be sent.

When a service bus using endpoint resolution is started, it should send a message to the static endpoint to get a list of endpoints and the message types handled by those endpoints. A service that is subscribed to the static endpoint would pick up the request and reply with a message containing the requested information.

Client Startup

When a client sending requests to a well-known endpoint is started, the client would add a service that handles subscription messages. These messages would be processed by the service, which in turn would update the local subscription cache.


Sign in to add a comment
Hosted by Google Code