|
@@ -35,8 +35,6 @@ import com.persagy.server.syn.jms.bean.SyncRwdDatacenterMessage
|
|
import com.persagy.service.SObjectService
|
|
import com.persagy.service.SObjectService
|
|
import com.persagy.service.utils.SJsonUtil
|
|
import com.persagy.service.utils.SJsonUtil
|
|
import org.slf4j.LoggerFactory
|
|
import org.slf4j.LoggerFactory
|
|
-import org.springframework.amqp.rabbit.annotation.RabbitHandler
|
|
|
|
-import org.springframework.amqp.rabbit.annotation.RabbitListener
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired
|
|
import org.springframework.beans.factory.annotation.Autowired
|
|
import org.springframework.stereotype.Component
|
|
import org.springframework.stereotype.Component
|
|
import org.springframework.stereotype.Service
|
|
import org.springframework.stereotype.Service
|
|
@@ -72,8 +70,8 @@ class MessageReceiver {
|
|
/**
|
|
/**
|
|
* 接收中台消息
|
|
* 接收中台消息
|
|
*/
|
|
*/
|
|
- @RabbitListener(queues = ["queue-center-syn"])
|
|
|
|
- @RabbitHandler
|
|
|
|
|
|
+// @RabbitListener(queues = ["queue-center-syn"])
|
|
|
|
+// @RabbitHandler
|
|
fun process(mess: String) {
|
|
fun process(mess: String) {
|
|
logger.debug("接收中台消息:${mess}")
|
|
logger.debug("接收中台消息:${mess}")
|
|
/** 解析消息 */
|
|
/** 解析消息 */
|