HornetQ Address Settings: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
</subsystem>
</subsystem>


</pre>
=Configure Settings for a JMS Queue=
In order to configure settings for a queue named "novaordis", set the following:
<pre>
<address-setting match="jms.queue.novaordis">
  <expiry-address>jms.queue.expiry.novaordis</expiry-address>
  ...
</address-setting>
</pre>
</pre>

Revision as of 00:57, 25 May 2016

Internal

Overview

<subsystem xmlns="urn:jboss:domain:messaging:1.4">
  <hornetq-server>
    ...
    <address-settings>
      <address-setting match="#">
        <dead-letter-address>jms.queue.DLQ</dead-letter-address>
        <expiry-address>jms.queue.ExpiryQueue</expiry-address>
        <redelivery-delay>0</redelivery-delay>
        <max-size-bytes>10485760</max-size-bytes>
        <page-size-bytes>2097152</page-size-bytes>
        <address-full-policy>PAGE</address-full-policy>
        <message-counter-history-day-limit>10</message-counter-history-day-limit>
        <redistribution-delay>1000</redistribution-delay>
      </address-setting>
    </address-settings>
    ...
  </hornetq-server>
</subsystem>

Configure Settings for a JMS Queue

In order to configure settings for a queue named "novaordis", set the following:

<address-setting match="jms.queue.novaordis">
   <expiry-address>jms.queue.expiry.novaordis</expiry-address>
   ...
</address-setting>