epData.getProperties().put("threads", threads);
}
epData.setAddress(uri);
epData.setConnector(getConnector());
//Create event generator job
EventGeneratorJobConfig config = new EventGeneratorJobConfig();
config.setStateful(threads.equals("1"));
epData.getProperties().put(QuartzConnector.PROPERTY_JOB_CONFIG, config);
return epData;
}