摘要 |
Context-based routing of requests in a service-oriented architecture (SOA) is achieved by using context information received from service providers to make routing decisions. Service providers publish information about their context on a publish-and-subscribe channel. A router (e.g., a JBI normalized message router) subscribes to the channel to receive the context information, and may store the context information in a context repository. A consumer issues a service request specifying a context, and the router uses the context information received from the service providers to select the service provider that best satisfies the context. The request is then routed to the selected service provider.
|