VersionGod1
V2EX  ›  RabbitMQ

请教一下各位大佬 rabbitMq 接收数据的问题

  •  
  •   VersionGod1 · Jun 5, 2023 · 1341 views
    This topic created in 1071 days ago, the information mentioned may be changed or developed.
    我的 spring 配置是这样的:

    用 test 方法直接用 ConnectionFactory 连接,可以消费成功
    但是用 @RabbitListener 监听就没有任何反应,控制台显示 new connection 也连接成功了
    监听消费的话还需要什么配置吗
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:16 · PVG 06:16 · LAX 15:16 · JFK 18:16
    ♥ Do have faith in what you're doing.