NotificationConsumerStrategy ncs = getNotificationConsumerService().getConsumerStrategy(str);
if (ncs.isStrategyFor(pt)) {
GatewayProxyFactoryBean gateway = this.proxyMap.get(str);
if (gateway.isRunning()) {
try {
NotificationGateway s = (NotificationGateway)gateway.getObject();
gateways.add(s);
}
catch (Exception e) {
e.printStackTrace();
}