public void init() throws MessagingException {
try{
ListTable = getCondition();
ComponentManager componentManager = (ComponentManager)getMailetContext().getAttribute(Constants.AVALON_COMPONENT_MANAGER);
// Get the DataSourceSelector block
DataSourceSelector datasources = (DataSourceSelector)componentManager.lookup(DataSourceSelector.ROLE);
// Get the data-source required.
int stindex = ListTable.indexOf("://")+3;
int endindex = ListTable.indexOf("/",stindex);
String datasourceName = ListTable.substring(stindex,endindex);
datasource = (DataSourceComponent)datasources.select(datasourceName);