<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:12pt"><div>Maybe its just that my Java is very rusty, but I see a difference bewtween the AQPI guide and the ...</div><div>&nbsp;</div><div>I am using the following link to the API guide</div><div>&nbsp;</div><div><a href="http://www.rabbitmq.com/api-guide.html">http://www.rabbitmq.com/api-guide.html</a><var id="yui-ie-cursor"></var></div><div>&nbsp;</div><div>The API Guide uses the following (and I can get this command to work)</div><div>&nbsp;</div><pre class="sourcecode">channel.queueDeclare(<b>queueName</b>, <b>true</b>, <b>false</b>, <b>false</b>, <b>null</b>);</pre><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;">However, in the in the Java Interface I found in this page</div><div style="color: rgb(0, 0, 0); font-family: times new roman,
 new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169">&nbsp;</div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169"><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html">http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html</a></div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169">&nbsp;</div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169">I see the
 following:</div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169">&nbsp;</div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; font-style: normal; background-color: transparent;" class="ms__id6169"><table border="1" cellSpacing="0" summary="" cellPadding="3" width="100%"><tbody><tr class="TableRowColor" bgColor="white"><td vAlign="top" width="1%" align="right"><font size="-1">
<code>&nbsp;<a title="interface in com.rabbitmq.client" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/AMQP.Queue.DeclareOk.html"><font color="#0066cc">AMQP.Queue.DeclareOk</font></a></code></font></td>
<td><code><b><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html#queueDeclare%28%29"><font color="#0066cc">queueDeclare</font></a></b>()</code>

<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actively declare a server-named exclusive, autodelete, non-durable queue.</td>
</tr>
<tr class="TableRowColor" bgColor="white">
<td vAlign="top" width="1%" align="right"><font size="-1">
<code>&nbsp;<a title="interface in com.rabbitmq.client" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/AMQP.Queue.DeclareOk.html"><font color="#0066cc">AMQP.Queue.DeclareOk</font></a></code></font></td>
<td><code><b><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html#queueDeclare%28java.lang.String%29"><font color="#0066cc">queueDeclare</font></a></b>(java.lang.String&nbsp;queue)</code>

<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actively declare a non-exclusive, non-autodelete, non-durable queue</td>
</tr>
<tr class="TableRowColor" bgColor="white">
<td vAlign="top" width="1%" align="right"><font size="-1">
<code>&nbsp;<a title="interface in com.rabbitmq.client" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/AMQP.Queue.DeclareOk.html"><font color="#0066cc">AMQP.Queue.DeclareOk</font></a></code></font></td>
<td><code><b><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html#queueDeclare%28java.lang.String,%20boolean%29"><font color="#0066cc">queueDeclare</font></a></b>(java.lang.String&nbsp;queue,
             boolean&nbsp;durable)</code>

<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actively declare a non-exclusive, non-autodelete queue
 The name of the new queue is held in the "queue" field of the <a title="interface in com.rabbitmq.client" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/AMQP.Queue.DeclareOk.html"><code><font color="#0066cc">AMQP.Queue.DeclareOk</font></code></a> result.</td>
</tr>
<tr class="TableRowColor" bgColor="white">
<td vAlign="top" width="1%" align="right"><font size="-1">
<code>&nbsp;<a title="interface in com.rabbitmq.client" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/AMQP.Queue.DeclareOk.html"><font color="#0066cc">AMQP.Queue.DeclareOk</font></a></code></font></td>
<td><code><b><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.0/rabbitmq-java-client-javadoc-1.7.0/com/rabbitmq/client/Channel.html#queueDeclare%28java.lang.String,%20boolean,%20boolean,%20boolean,%20boolean,%20java.util.Map%29"><font color="#0066cc">queueDeclare</font></a></b>(java.lang.String&nbsp;queue,
             boolean&nbsp;passive,
             boolean&nbsp;durable,
             boolean&nbsp;exclusive,
             boolean&nbsp;autoDelete,
             java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;arguments)</code>

<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a queue</td></tr></tbody></table></div><div>
<br><br>    <meta content="on" http-equiv="x-dns-prefetch-control">None of these match the one I found in the API guide.&nbsp; The closest is the last one in the table, but that includes&nbsp; a reference to the 'passive' prameter that is&nbsp;aparently not included in&nbsp;the reference I found in the API guide</div><div>&nbsp;</div><div>What am I missing, or is my Java simply weak ?</div><div>&nbsp;</div><div>Thanks&nbsp;&nbsp;&nbsp; </div></div></body></html>