@ JsTopic @ WsDataService public Integer subscribe ( @ JsTopicName ( prefix = Constants . Topic . SUBSCRIBERS ) String topic , Session session ) throws IllegalAccessException { return topicManager . registerTopicSession ( topic , session ) ; }
Subscribe to topic