doSuspend(entity, req, resp, resource, config, topic, timeout, scope,
writeEntity, listeners, true, false, useResumeAnnotation);
}
Publish publishAnnotation = ctx.getActionAnnotation(Publish.class);
if (publishAnnotation != null) {
view = doPublish(entity, req, config, publishAnnotation.value());
}
Resume resumeAnnotation = ctx.getActionAnnotation(Resume.class);
if (resumeAnnotation != null) {
//TODO suspendTimeout not used