akarta.jms">JMSException</a></pre>
<div class="block">Creates a connection consumer for this connection (optional operation). This is an expert facility not used by
 regular Jakarta Messaging clients.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>queue</code> - the queue to access</dd>
<dd><code>messageSelector</code> - only messages with properties matching the message selector expression are delivered. A value
 of null or an empty string indicates that there is no message selec