当前位置:网站首页>Only one confirmcallback is supported by each rabbittemplate
Only one confirmcallback is supported by each rabbittemplate
2022-06-27 09:34:00 【Sparkle_ wsl】
Only one ConfirmCallback is supported by each RabbitTemplate terms of settlement
The reason for the error :
spring in Bean The default is to use the single column mode , unfortunately RabbitTemplate You can only set one ConfirmCallback, So it caused the appeal BUG
terms of settlement :
RabbitTemplate Set to multi column mode
@Bean
@Scope("prototype")
public RabbitTemplate rabbitTemplate(ConnectionFactory connectionFactory) {
RabbitTemplate template = new RabbitTemplate(connectionFactory);
template.setMandatory(true);
template.setMessageConverter(new SerializerMessageConverter());
return template;
}
边栏推荐
- 初步认识pytorch
- BufferedWriter 和 BufferedReader 的使用
- 静态代码块Vs构造代码块
- Advanced mathematics Chapter 7 differential equations
- prometheus告警流程及相关时间参数说明
- Unity - - newtonsoft. Analyse json
- 提高效率 Or 增加成本,开发人员应如何理解结对编程?
- See how much volatile you know
- Video file too large? Use ffmpeg to compress it losslessly
- There is no doubt that this is an absolutely elaborate project
猜你喜欢

Object含有Copy方法?

Improving efficiency or increasing costs, how should developers understand pair programming?

快速入门CherryPy(1)

Five page Jump methods for wechat applet learning

The largest rectangle in the bar graph of force buckle 84

Imx8qxp DMA resources and usage (unfinished)

E+H二次表维修PH变送器二次显示仪修理CPM253-MR0005

Some exercises about binary tree

Markem imaje马肯依玛士喷码机维修9450E打码机维修

C # solve the relative path problem using SQLite
随机推荐
反编译jar包,修改后重新编译为jar包
One week's experience of using Obsidian (configuration, theme and plug-in)
Summary of three basic interview questions
1098 insertion or heap sort (PAT class a)
There is no doubt that this is an absolutely elaborate project
巴基斯坦安全部队开展反恐行动 打死7名恐怖分子
Preliminary understanding of pytorch
基于STM32设计的蓝牙健康管理设备
【生动理解】深度学习中常用的各项评价指标含义TP、FP、TN、FN、IoU、Accuracy
vector::data() 指针使用细节
初步认识pytorch
Pakistani security forces killed 7 terrorists in anti-terrorism operation
小白也能看懂的网络基础 03 | OSI 模型是如何工作的(经典强推)
最全H桥电机驱动模块L298N原理及应用
看看volatile你深知多少
About the problem that the El date picker Click to clear the parameter and make it null
unity--newtonsoft.json解析
借助原子变量,使用CAS完成并发操作
Source insight 工具安装及使用方法
js的数组拼接「建议收藏」