qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acacio.cent...@terra.com.br
Subject How to properly implement a 1-to-N pattern
Date Wed, 02 Sep 2009 14:33:09 GMT

	                By what I’ve read on the AMQP specification,
should I have N consumers to a queue, for each message posted to it,
one of the consumers is going to be activated in round-robin. The
spec call this a store-and-forward-queue (section 2.1.1). What If I
want to have all the consumers alerted about each message posted? 
	                I figured that I could manage to have each of them
creating a queue and binding it to a fanout Exchange. Then, for each
message posted to the Exchange, all the queues would get their copies
and thus all the consumers would be alerted about it. 
	                So, is this the right way to implement the scenario
of having a producer activating N consumers or is there another type
of exchange/queue that would give me this functionality? 
	Thanks in advance,

   BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message