Redelivery configured for every 6 seconds but HornetQ doesn't seems not follow this

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content