Hi
I am using Jboss 7.1.1.Final and the distribution of hornetQ that comes with it. I have disabled HornetQ clustering and I am using InVMConnection.
How do I disable jms retry messages using hornetQ?
I tried the following configuration in standalone.xml but still I get reties then an unexpected Exception is thrown in code:
<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-delivery-attempts>0</max-delivery-attempts>
<max-size-bytes>10485760</max-size-bytes>
<address-full-policy>BLOCK</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>
by setting:
<redelivery-delay>0</redelivery-delay>
<max-delivery-attempts>0</max-delivery-attempts>
I believed this configuration would disable the reties. What do I do wrong?
Kind regards,
Anita