-
1. infinite message redelivery between Queue and MDB
clebert.suconic May 5, 2011 12:57 PM (in response to maximep)Look at hornetq-configuration.xml
There's the address settings using wildcard.
You can either add this:
<address-settings>
<!--override the max-delivery-attempts and dead letter address for the example queue-->
<address-setting match="jms.queue.YourQueueName">
<dead-letter-address>jms.queue.YOURDLQ</dead-letter-address>
<max-delivery-attempts>3</max-delivery-attempts>
</address-setting>
</address-settings>
Or you can add these two lines to the # matching:
<dead-letter-address>jms.queue.YOURDLQ</dead-letter-address>
<max-delivery-attempts>3</max-delivery-attempts>
-
2. infinite message redelivery between Queue and MDB
clebert.suconic May 5, 2011 12:59 PM (in response to clebert.suconic) -
3. infinite message redelivery between Queue and MDB
jaikiran May 6, 2011 9:43 AM (in response to maximep)It's a known bug in JBoss AS 6.0.0.Final https://issues.jboss.org/browse/JBAS-7950 and has been fixed in the latest AS 6.1.0 SNAPSHOT http://community.jboss.org/thread/161386
-
4. infinite message redelivery between Queue and MDB
sergiu_pienar May 9, 2011 3:12 AM (in response to jaikiran)Jaikiran,
Can the bug fix be integrated into JBoss 5.1.0 or is it necessary to switch to JBoss 6.1.0 for this fix ?
Thx.
-
5. infinite message redelivery between Queue and MDB
jaikiran May 9, 2011 3:24 AM (in response to sergiu_pienar)JBoss AS 5.1.0 doesn't use HornetQ. So that bug doesn't apply for JBoss AS 5.1.0.
-
6. infinite message redelivery between Queue and MDB
maximep May 9, 2011 3:48 AM (in response to maximep)Thanks for your support.
I solved the problem by replacing the message journal files by empty ones... This is a quick fix intended for testing use only, that I'll use until I switch to JBoss 6.1.