On 5 August 2014 at 17:01:46, Doğukan Güran (
doguka...@gmail.com) wrote:
> > I wonder that Do i have to do same declarations both in the publisher
> and consumer side. I ask the question because in the basicConsume,
> there is a parameter queueName,
> I.e. I have 4 queues and these queues are binded to the one exchange
> in the publisher code. For the publisher code what queue name
> should I use?
Publishers typically should only know where to publish. Consumers should declare
queues and bindings because you have more relevant info (e.g. queue names) in the consumers
apps.
But this is a guideline, not a rule.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ