Routing Clients With The Driver API
You can use the
connect(String broker) method of the DriverManager API on all Driver platforms to force a client to log in to a specified Broker.