[rabbitmq-discuss] Acknowledging messages across the federation
pete at theemersons.org
Thu Jun 6 16:51:41 BST 2013
Whoops, replied back to Simon instead of the list.
I have a policy of "^amq\." with federation-upstream-set: all, isn't that
federating the random exchanges already?
I'm not clear what you mean by "any exchange which will only route to one
consumer". Are you suggesting that the code route the message to a desired
consumer, instead of taking advantage of rabbitmq itself?
On Thu, Jun 6, 2013 at 3:19 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> On 05/06/13 21:03, Pete Emerson wrote:
>> When I send a message to my federated exchange, two workers (one in each
>> cluster) gets the message.
>> What do I need to do in order to have only one worker get the message,
>> instead of one per federation?
> Federation is currently a poor fit for worker queues since you can only
> federate exchanges; federating an exchange means that messages published to
> that exchange can be consumed in all locations.
> You might be able to rig something up by federating the random or
> consistent hash exchanges, any exchange which will only route to one
> We are working on implementing federated queues, which will hopefully be
> the correct solution for your problem.
> Cheers, Simon
> Simon MacMullen
> RabbitMQ, Pivotal
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss