<span class="typeNameLabel">MessageListener.</span><code><span class="memberNameLink"><a href="../MessageListener.html#onMessage(jakarta.jms.Message)">onMessage</a></span>&#8203;(<a href="../Message.html" title="interface in jakarta.jms">Message</a>&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Passes a message to the listener.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">TopicPublisher.<