[rabbitmq-discuss] Nested consuming and publishing

Jarmo Myllyvirta jarmo.myllyvirta at flashnode.com
Tue Mar 25 13:08:20 GMT 2014


Hi,
I have a consumer that I would want do the following:
- Consume message from queue Q1
- Ack the message to the Q1 and publish it another queue Q2
- Then I want to to process the message and ack it to also the queue Q2 (if process was ok). On error message would stay in Q2.
Is it possible do that all in one consumer?
This way I could handle errors better in the message process phase. 
I’m using php-amqplib as client.
Cheers,
Jarmo M.
Flashnode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140325/f36f0bec/attachment.html>


More information about the rabbitmq-discuss mailing list