Use the IBM® Integration API to start, stop, or quiesce server connections that use a TCP/IP configurable service.
You can call the TCP/IP resource manager to start, stop, or quiesce a TCP/IP connection manager.
ResourceManagerProxy rm = EG.getResourceManagerByName("TCPIP");
Properties prop1 = new Properties(); prop1.setProperty("port","1445");
rm.execute("start", prop1,"Server",null);
ResourceManagerProxy rm = EG.getResourceManagerByName("TCPIP");
Properties prop1 = new Properties(); prop1.setProperty("port","1445");
rm.execute("stop", prop1,"Server",null);
ResourceManagerProxy rm = EG.getResourceManagerByName("TCPIP");
Properties prop1 = new Properties(); prop1.setProperty("port","1445");
prop1.setProperty("quiesceTimeoutSec","30");
rm.execute("quiesce",
prop1,"Server",null);