<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 12 Sep 2013, at 12:47, rajjs wrote:</div><blockquote type="cite"><div dir="ltr">is there any way to communicate or the send the response message back from the subscriber to producer in the rabbit mq when exange_type=fanout..<br></div></blockquote><div><br></div><div><p>As per <a href="http://www.rabbitmq.com/tutorials/tutorial-six-python.html:">http://www.rabbitmq.com/tutorials/tutorial-six-python.html:</a></p><p>"The AMQP protocol predefines a set of 14 properties that go with
a message. Most of the properties are rarely used, with the exception of
the following:</p>
<ul>
<li><span class="code ">delivery_mode</span>: Marks a message as persistent (with a value of <span class="code ">2</span>)
or transient (any other value). You may remember this property
from <a href="http://www.rabbitmq.com/tutorials/tutorial-two-python.html">the second tutorial</a>.</li>
<li><span class="code ">content_type</span>: Used to describe the mime-type of the encoding.
For example for the often used JSON encoding it is a good practice
to set this property to: <span class="code ">application/json</span>.</li>
<li><span class="code ">reply_to</span>: Commonly used to name a callback queue."</li></ul><div><br></div><div>So you can specify the name of a reply queue in the basic.properties attached to a message, and use that to send a reply if necessary.</div><div><br></div><div>Tim</div></div></div></body></html>