JsTopicMessageController getJsTopicMessageControllerFromJsTopicControl ( String topic ) { logger . debug ( "Looking for messageController for topic '{}' from JsTopicControl annotation" , topic ) ; Instance < JsTopicMessageController < ? > > select = topicMessageController . select ( new JsTopicCtrlAnnotationLiteral ( topic ) ) ; if ( ! select . isUnsatisfied ( ) ) { logger . debug ( "Found messageController for topic '{}' from JsTopicControl annotation" , topic ) ; return select . get ( ) ; } return null ; }
Get jstopic message controller from JsTopicControl