com.ibm.presence.api.routing
Interface RoutingService


public interface RoutingService

Subscriber based partitioning is a mechanism which allows deploying several Presence Server clusters, each handling SIP requests for a subset of users. The deployment of several clusters will allow scaling up and supporting large number of users. The routing to the correct Presence Server cluster will be done by a routing component, which will have a simple default implementation to divide the users by hashing their ID. For each incoming request for single user the routing component will receive the fundamental Id of a user and will return the SIP address (of a Presence Server cluster) to route the request to. The RoutingService interface should be implemented in order to create new routing algorithm. The new routing service implementation needs to be specified in the Presence Server configuration file (SystemConfiguration.xml) for example:


Method Summary
 java.lang.String getRoutingURI(java.lang.String presenceId)
          This method returns the routing SIP URI to route the request to
 

Method Detail

getRoutingURI

java.lang.String getRoutingURI(java.lang.String presenceId)
This method returns the routing SIP URI to route the request to

Parameters:
presenceId - The request presence id
Returns:
The request routing URI to route the request to


Copyright © 2007 IBM Corp. All Rights Reserved.