users@glassfish.java.net

JMS message redelivery limit and delay

From: Theodor Richard <theodor.richard_at_googlemail.com>
Date: Fri, 11 Feb 2011 17:44:00 +0100

Is there a way to configure a message redelivery limit and delay between
retrials in Glassfish's JMS implementation. According to this JIRA issue
http://java.net/jira/browse/MQ-23, it is not possible. But how do you deal
with messages that will likely never successfully processed. Currently,
OpenMQ immediately tries to resend the message for an unlimited number of
times, which leads to a very high server load. I'm looking for a way to
configure exponential backoff for redelivery attempts.

Thanks,
Theodor