ActivityRecoveryChannel recovery = importChannel(channel, ActivityRecoveryChannel.class);
__log.info("ActivityRecovery: Recovering activity " + activityId + " with action " + action +
" on channel " + recovery);
if (recovery != null) {
if ("cancel".equals(action))
recovery.cancel();
else if ("retry".equals(action))
recovery.retry();
else if ("fault".equals(action))
recovery.fault(fault);
}