|
|
@ -9,6 +9,7 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener; |
|
|
|
import org.apache.rocketmq.spring.core.RocketMQListener; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
/** |
|
|
|
* desc: 小组成就mq监听 |
|
|
@ -18,7 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
* @version: 1.0 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
//@Component
|
|
|
|
@Component |
|
|
|
@RocketMQMessageListener(topic = "group_achievement", consumerGroup = ConsomerGroupConstants.GROUP_ACHIEVEMENT_COMPONENTS_GROUP) |
|
|
|
public class GroupAchieventConsumerListener implements RocketMQListener<GroupAchievementMQMsg> { |
|
|
|
@Autowired |
|
|
|