soislom
V2EX  ›  问与答

rabbitmq 问题请教

  •  
  •   soislom · Jul 14, 2022 · 1657 views
    This topic created in 1410 days ago, the information mentioned may be changed or developed.

    我在 rabbitmq 管控台注册了一个 exchang:springCloudBus,在注册了一个 queue:queue_registry_event 。

    在消费者 订阅了一个

    @RabbitListener(queues={"queue_registry_event}).

    但是每次启动的时候报错都是:找不到“springCloudBus.***” 的队列,

    这是为什么呀

    1 replies    2022-07-14 16:22:35 +08:00
    heybuddy
        1
    heybuddy  
       Jul 14, 2022 via Android
    还需要把队列绑定到 exchange
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2988 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 08:52 · PVG 16:52 · LAX 01:52 · JFK 04:52
    ♥ Do have faith in what you're doing.