CoordinatorJobBean coordJob = jpaService.execute(new CoordJobGetJPAExecutor(caction.getJobId()));
queueCallable(new CoordActionStartXCommand(
caction.getId(), coordJob.getUser(),
coordJob.getAuthToken(), caction.getJobId()));
log.info("Recover a SUBMITTED coord action and resubmit CoordActionStartCommand :" + caction.getId());
}
else if (caction.getStatus() == CoordinatorActionBean.Status.SUSPENDED) {
if (caction.getExternalId() != null) {
queueCallable(new SuspendXCommand(caction.getExternalId()));
log.debug("Recover a SUSPENDED coord action and resubmit SuspendXCommand :" + caction.getId());