         int&nbsp;maxMessages)</code>
<div class="block">Creates a connection consumer for this connection (optional operation) on the specific destination.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../jakarta/jms/MessageConsumer.html" title="interface in jakarta.jms">MessageConsumer</a></code></td>
<td class="colLast"><span class="typeNameLabel">Session.</span><code><span class="memberNameLink"><a href="../../../jakarta/jms/Session.html#createConsumer-jakarta.jms.Des