users@glassfish.java.net

JMS Redelivery Interval (GF 2.1)

From: <forums_at_java.net>
Date: Mon, 12 Dec 2011 17:46:03 -0600 (CST)

I'm not having any luck getting a JMS redelivery interval to work.  Below
is the xml from sun-ejb.jar.xml (right place?).  I'd like to configure this
in XML so if I want to change the interval later, I can do it without a
recompile.

 Dialing up the logging, I can see what I think is proof that the value
is getting set.  It's just not honoring the value.  I am hoping to slow
down the redelivery to be very slow, so when a third-party system is down
we're not pounding them with messages.  What am I missing?

<ejb-name>MyMDBean</ejb-name> <jndi-name>jms/MyQueue</jndi-name>
<mdb-resource-adapter> <resource-adapter-mid>jmsra</resource-adapter-mid>
<activation-config> <activation-config-property>
<activation-config-property-name>EndpointExceptionRedeliveryAttempts</activation-config-property-name>
<activation-config-property-value>1</activation-config-property-value>
</activation-config-property> <activation-config-property>
<activation-config-property-name>EndpointExceptionRedeliveryInterval</activation-config-property-name>
<activation-config-property-value>180000</activation-config-property-value>
</activation-config-property> </activation-config> </mdb-resource-adapter>

--
[Message sent by forum member 'culli']
View Post: http://forums.java.net/node/873562