<span id="result_box" class="short_text" lang="en"><span title="Fai clic per visualizzare le traduzioni alternative" class="hps">thanks for</span> <span title="Fai clic per visualizzare le traduzioni alternative" class="hps">removing</span> <span title="Fai clic per visualizzare le traduzioni alternative" class="hps">the</span> <span title="Fai clic per visualizzare le traduzioni alternative" class="hps">question...</span><span title="Fai clic per visualizzare le traduzioni alternative" class="hps"></span></span><br>
<br><div class="gmail_quote">2011/5/19 Randall Richard <span dir="ltr"><<a href="mailto:randall@trellisapp.com">randall@trellisapp.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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 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 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%28java.lang.String,+boolean,+boolean,+boolean,+java.util.Map%29" target="_blank">queueDeclare</a></b></code></span><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 size="3" face="monospace"><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"><div><div></div><div class="h5">On Wed, May 18, 2011 at 2:13 PM, kane <span dir="ltr"><<a href="mailto:wtkane07@gmail.com" target="_blank">wtkane07@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<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></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</blockquote></div><br>