ServiceStack/ServiceStack — pull request #944 by celper (2014-09-29 08:35:39+00:00)
Title: RabbitMqProducer: Don't redeclare queue when publishing to server named (exclusive) queue

Use-Case: MQ-based RPC call with anonymously declared queue
Client code sends request message to normal incoming queue but sets ReplyTo to temporary queue name.

Excerpt from client-code:
string responseQueueName = channel.QueueDeclare().QueueName;
var props = channel.CreateBasicProperties();
props.ReplyTo = responseQueueName;
channel.BasicPublish(EXCHANGE_NAME, INQ_QUEUE_NAME, props, body));

MessageProducer should not try to redeclare queue since it would result in error anyway.
Instead it should just publish response message to default exchange ("") assuming queue and default binding exist.