me221
V2EX  ›  问与答

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

  •  
  •   me221 · Mar 9, 2022 · 1459 views
    This topic created in 1552 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   ·   914 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:21 · PVG 05:21 · LAX 14:21 · JFK 17:21
    ♥ Do have faith in what you're doing.