inputStream = new BufferedInputStream(new FileInputStream(new File(path)));
XMLStreamReader parser = XMLInputFactory.newInstance().
createXMLStreamReader(inputStream);
StAXOMBuilder builder = new StAXOMBuilder(parser);
OMElement omElement = builder.getDocumentElement();
omElement.build();
return omElement;
} catch (FileNotFoundException e) {
String errorMessage = CEPConstants.CEP_CONF
+ "cannot be found in the path : " + path;
log.error(errorMessage, e);