if (props.containsKey(platformType + ".tcp.host") && props.containsKey(platformType + ".tcp.port")) {
String host = props.getProperty(platformType + ".tcp.host");
int port = Integer.parseInt(props.getProperty(platformType + ".tcp.port"));
TcpNetClientConnectionFactory tnccf = new TcpNetClientConnectionFactory(host, port);
tnccf.setSoTimeout(10000);
tnccf.setSingleUse(true);
TcpOutboundGateway tog = new TcpOutboundGateway();
tog.setBeanName(platformType + "StatusNotifier");
tog.setBeanFactory(context.getBeanFactory());
tog.setChannelResolver(channelResolver);