IntroductionIn 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. DetailsEndpoint ResolutionTo 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 StartupWhen 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.
|