<div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">6.2. Queue</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="JMS-Client-0-8-JNDI-Properties-Format.html">Prev</a> </td><th align="center" width="60%">Chapter 6. JNDI Properties Format</th><td align="right" width="20%"> <a accesskey="n" href="JMS-Client-0-8-JNDI-Properties-Format-Topic.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="JMS-Client-0-8-JNDI-Properties-Format-Queue"></a>6.2. Queue</h2></div></div></div><p><code class="literal">queue.</code><span class="emphasis"><em>name</em></span> declares a <a class="link" href="http://docs.oracle.com/javaee/6/api/javax/jms/Queue.html" target="_top">Queue</a> with the given JNDI name. The | |
value is simple queue name. This is the name of the queue as known by the Broker.</p><p>The <code class="literal">queue.</code> form is a short hand for declaring a destination:</p><pre class="screen">destination.name=direct://amq.direct//<queue name>?routingkey=’<queue name>’&durable=’true’</pre></div><div class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="JMS-Client-0-8-JNDI-Properties-Format.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="JMS-Client-0-8-JNDI-Properties-Format.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="JMS-Client-0-8-JNDI-Properties-Format-Topic.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">Chapter 6. JNDI Properties Format </td><td align="center" width="20%"><a accesskey="h" href="JMS-Client-Book.html">Home</a></td><td align="right" valign="top" width="40%"> 6.3. Topic</td></tr></table></div></div> |