}
public boolean performAction(File product, Metadata productMetadata)
throws CrawlerActionException {
try {
XmlRpcWorkflowManagerClient wClient = new XmlRpcWorkflowManagerClient(
new URL(this.workflowMgrUrl));
String ingestSuffix = this.ingestSuffix;
return wClient.sendEvent(productMetadata.getMetadata(PRODUCT_TYPE)
+ ingestSuffix, productMetadata);
} catch (Exception e) {
throw new CrawlerActionException(
"Failed to update workflow manager : " + e.getMessage());
}