<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> </div><div>I am using the following link to the API guide</div><div> </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> </div><div>The API Guide uses the following (and I can get this command to work)</div><div> </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"> </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"> </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"> </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> <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>
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> <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 queue)</code>
<br>
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> <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 queue,
boolean durable)</code>
<br>
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> <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 queue,
boolean passive,
boolean durable,
boolean exclusive,
boolean autoDelete,
java.util.Map<java.lang.String,java.lang.Object> arguments)</code>
<br>
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. The closest is the last one in the table, but that includes a reference to the 'passive' prameter that is aparently not included in the reference I found in the API guide</div><div> </div><div>What am I missing, or is my Java simply weak ?</div><div> </div><div>Thanks </div></div></body></html>