Redelivery configured for every 6 seconds but HornetQ doesn't seems not follow this
Issue
We have mdb running inside JBoss-EAP-6.2 HornetQ and doing parsing/saving messages to db.
Here is the configuration in HornetQ domain.xml -
<address-setting match="jms.queue.testQueue">
<redelivery-delay>6000</redelivery-delay>
<max-delivery-attempts>-1</max-delivery-attempts>
<max-size-bytes>10737418240</max-size-bytes>
<page-size-bytes>20971520</page-size-bytes>
<address-full-policy>PAGE</address-full-policy>
</address-setting>
We set redelivery-delay every 6 seconds for any unsuccessful messages, but in the log, I could not see that interval for every redelivery.
We are trying to set firewall between HornetQ and database to simulate db is down. while waiting db is resume back, message consumer is trying to send message back to the queue for re-delivery.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
