<div><br></div>I happened to have the source code handy for RpcClient. Looks like the reply queue is set up via the setupReplyQueue() method below.<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><div><div> /**</div><div> * Creates a server-named exclusive autodelete queue to use for</div><div> * receiving replies to RPC requests.</div><div> * @throws IOException if an error is encountered</div>
<div> * @return the name of the reply queue</div><div> */</div><div> protected String setupReplyQueue() throws IOException {</div><div> return _channel.queueDeclare("", false, true, true, null).getQueue();</div>
<div> }</div></div></div><div><br></div></blockquote><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><code><b><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v2.4.1/rabbitmq-java-client-javadoc-2.4.1/com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String, boolean, boolean, boolean, java.util.Map)">queueDeclare</a></b></code></span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><code>(java.lang.String queue, boolean durable, boolean exclusive, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments)</code></span><div>
<div><font class="Apple-style-span" face="monospace" size="3"><br></font></div><div>So, it looks like it's declared with exclusivity as true.</div><div><br></div><div>Regards,</div><div><br></div><div>-Randall<br><div>
<div><br></div><div class="gmail_quote">On Wed, May 18, 2011 at 2:13 PM, kane <span dir="ltr"><<a href="mailto:wtkane07@gmail.com">wtkane07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><font face="Calibri">I have a question regarding a class of the package
com.rabbitmq.client<br>the calss in question is RpcClient and use as
follows:</font></div>
<div> </div>
<div><font face="Calibri"> RpcClient service = new RpcClient (channel, "",
cost.request_queue);<br> <br> return = service.stringCall
(message);</font></div>
<div> </div><font face="Calibri">
</font><div><font face="Calibri"><br>This calss I automatically generates a queue on which the client waits
for a response.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Let me know if this queue is exclusive?</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">I make this question because in the javadoc documentation of the class is
written as follows:</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">rpcclient public (the English Channel,<br>
java.lang.String exchange,<br> java.lang.String
routingKey)<br> throws java.io.IOException</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> Building a new rpcclient that communicate on the designated channel,
sending requests for data routing with the given key.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> Causes the creation of a temporary private queue autodelete.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">...</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">The last sentence says that creates a temporary queue, autodelete and here
we are, then says that the tail is private</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">I wonder if the word in the phrase "private" is intended to be exclusive
...<br>may seem trivial but sometimes a word changes the meaning of a sentence
... thanks!</font></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div></div></div>