VersionGod1
V2EX  ›  RabbitMQ

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

  •  
  •   VersionGod1 · Jun 5, 2023 · 1382 views
    This topic created in 1084 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   ·   3622 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 04:50 · PVG 12:50 · LAX 21:50 · JFK 00:50
    ♥ Do have faith in what you're doing.