Subscribe subscribeAnnotation = ctx.getActionAnnotation(Subscribe.class);
if (subscribeAnnotation != null) {
int timeout = subscribeAnnotation.timeout();
Class<? extends AtmosphereResourceEventListener>[] listeners =
subscribeAnnotation.listeners();
Suspend.SCOPE scope = Suspend.SCOPE.APPLICATION;
String topic = subscribeAnnotation.value();
boolean writeEntity = subscribeAnnotation.writeEntity();
doSuspend(entity, req, resp, resource, config, topic, timeout, scope,