lijie 4fce3ed5e7 升级:调整mvn版本号为1.1.0 | 2 gadi atpakaļ | |
---|---|---|
.. | ||
src | 3 gadi atpakaļ | |
README.md | 3 gadi atpakaļ | |
pom.xml | 2 gadi atpakaļ | |
pom.xml.versionsBackup | 2 gadi atpakaļ |
集成了RabbitMQ消息队列
监听器实现参考示例:
@Component
@RabbitListener(queues = DigitalRabbitConfig.PROJECT_QUEUE)
public class ProjectMessageHandler extends AbstractRabbitHandlerTemplate {
@Override
protected void handler(String message, Channel channel, Message vo) {
// 模板类中已实现消息补偿,在此实现业务逻辑处理即可
}
}