public void configure(Configuration conf) throws ConfigurationException {
		conf.addConfigurable(this);
	    ruleFile = conf.getProperty("broadcastTCPOutputConnector.rule");
	    if(ruleFile == null)
	    	throw new ConfigurationException("broadcastTCPOutputConnector.rule not specified");
		String portString = conf.getProperty("broadcastTCPOutputConnector.port");
		if(portString == null)
			throw new ConfigurationException("broadcastTCPOutputConnector.port not specified");
		try {
			port = Integer.parseInt(portString);
		}
		catch(Exception e) {
			throw new ConfigurationException("broadcastTCPOutputConnector.port is not a number");
		}
		String maxString = conf.getProperty("broadcastTCPOutputConnector.max");
		if(maxString == null)
			throw new ConfigurationException("broadcastTCPOutputConnector.max not specified");
		try {
			max = Integer.parseInt(maxString);
		}
		catch(Exception e) {
			throw new ConfigurationException("broadcastTCPOutputConnector.max is not a number");
		}
		try {
			idleTimeout = Integer.parseInt(conf.getProperty("broadcastTCPOutputConnector.timeout"));
		}
		catch(Exception e) {
			idleTimeout = 10;
		}
	    username = conf.getProperty("broadcastTCPOutputConnector.username");
	    password = conf.getProperty("broadcastTCPOutputConnector.password");
	}