me221
V2EX  ›  问与答

求问: RabbitMQ 如何获取指定的消息

  •  
  •   me221 · Mar 9, 2022 · 1538 views
    This topic created in 1586 days ago, the information mentioned may be changed or developed.

    如题
    例如队列中存在 100 条消息, 其中有 3 条是属于 A 用户的.当 A 用户上线时,将所有属于用户 A 的消息推送过去

    1 replies    2022-03-09 16:18:14 +08:00
    litchinn
        1
    litchinn  
       Mar 9, 2022
    用 a 的 id 作为 routingkey ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2870 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 12:44 · PVG 20:44 · LAX 05:44 · JFK 08:44
    ♥ Do have faith in what you're doing.