[rabbitmq-discuss] One message instance in couple of queues
Simon MacMullen
simon at rabbitmq.com
Fri Apr 20 18:00:16 BST 2012
On 20/04/12 17:27, ostin wrote:
> Example application with topic exchange:
> I push a message to server1.app1 queue and an other one to
> server1.app2 queue. I monitor server1 queue to determine count of
> processing messages on server 1. After app1 ends processing message it
> shold be deleted from both queues: from app1 to prevent duplicate
> processing, from server1 to have valid stats for monitoring. I assume
> that there can be many applications with random names, so I cant
> monitor just count of messages in app* queues.
If you want to make sure that a given message is only ever consumed from
server1.app1 OR server1.app2, why not have only a single queue and have
both applications consume from it?
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list