spring-amqp - spring-amqp 无法在 SimpleMessageListenerContainerFactory 中使用自定义 MessagingMessageListenerAdapter
问题描述
在 spring-amqp 2.0.3.RELEASE 模块中,不可能在 SimpleMessageListenerContainerFactory 中使用自定义 MessagingMessageListenerAdapter。
即使考虑注册自己的 bean,我们也停留在最高的一个,其中最后一个对象实例刚刚在 org.springframework.amqp.rabbit.annotation.RabbitListenerAnnotationBeanPostProcessor#processAmqpListener 中创建了“新 MethodRabbitListenerEndpoint”。
也许 Spring 开发人员可以向 SimpleMessageListenerContainerFactory 添加一些生产者注册,例如“smlcf.setMessageListenerAdapterCreator”
解决方案
我创建了一个故事,用于为 ReplyTo https://jira.spring.io/browse/AMQP-825添加重试功能
推荐阅读
- javascript - 在 React JS 中,如何对容器中的函数进行单元测试?
- ios - iOS | 如何以编程方式打开谷歌课堂应用程序
- oracle - oracle中没有插入数据
- selenium - 我在使用 Selenium 时在 intelliJ IDE 中遇到 webdriver 错误?
- java - 在准备好的语句中将负 java long 转换为 clickhouse Uint64
- python - PIL 和 python 静态类型
- python - 如何进一步优化具有tensorflow + opencv + pyrealsense2的python代码
- airflow - 气流:为 TriggerDagRunOperator 设置自定义 run_id
- ios - 是否可以将扩展图像从项目更改为 UIImageView?
- c# - 列表中的行单元格值