In any deployed configuration of Component Servers, one or more Servers act as routers and distribute requests among those Servers that have the appropriate service, transaction type, and routing data. You specify whether a Server is a router when you launch the Server processes (see Configuring, Starting, and Stopping the Server Executable).
Each client must specify one or more routers as well. You do this with the API ostc::addRouter(). On Windows platforms, you can use the executable ostcSetRouter.exe instead of this API.
ostc::addRouter(argv[1]);
host:port
Click here for the example in context.
ostcSetRouter.exe
Windows only: With this executable you can add and remove routers:
ostcsetrouter -add host:port ostcsetrouter -remove host:port ostcsetrouter -clear
The -clear switch removes all routers.
Running this utility affects the Windows NT registry.