catch(Exception e){
throw new ConfigurationException(e.getMessage(),e);
}
try {
StandardMBean dataProviderMbean = new StandardMBean(new DataProviderAdmin(dataProvider), DataProviderAdminMBean.class);
JmxUtil.registerMBean(dataProviderMbean, "indexing-manager","stream-data-provider");
} catch (Exception e) {
logger.error(e.getMessage(),e);
}
}