RabbitMQ wait for multiple queues to finish

后端 未结 5 1787
傲寒
傲寒 2021-02-05 15:15

Ok here is an overview of what\'s going on:

    M <-- Message with unique id of 1234
    |
    +-Start Queue
    |
    |
    | <-- Exchange
   /|\\
  / | \         


        
5条回答
  •  深忆病人
    2021-02-05 15:35

    You need to implement this: http://www.eaipatterns.com/Aggregator.html but the RabbitMQBundle for Symfony doesn't support that so you would have to use the underlying php-amqplib.

    A normal consumer callback from the bundle will get an AMQPMessage. From there you can access the channel and manually publish to whatever exchanges comes next in your "pipes and filters" implementation

提交回复
热议问题