[jboss-user] [JBossMQ] - Re: MaxTimesRedelivered does not work

adrian@jboss.org do-not-reply at jboss.com
Mon Mar 16 11:40:58 EDT 2009


"mleite" wrote : Hello there!
  | 
  | I need to setup Max Redelivered Times to 20, so i edited standardjboss.xml and put this <MaxTimesRedelivered>20</MaxTimesRedelivered>
  | 
  | But even with this configuration i get the warning bellow
  | 
  | 19:03:51,734 WARN  [AbstractDLQHandler] Message redelivered=6 max=5 sending it to the dlq org.jboss.mq.SpyObjectMessage.
  | 
  | I guess this configuration did not work, because the message was redelivered 6 times.
  | 
  | My JBoss version is 4.2.2GA.
  | 
  | 
  | Thanks in advance
  | MLeite

I can tell from the WARN that you are using the JCA resource adapter
rather than the JMSContainerInvoker where the configuration you show is valid.

So you should be using its activation-config-property to configure it.

That is unless you have configured it to use the backwards compatibilty helper
JBossJMSMessageEndpointFactory in (standard)jboss.xml
that maps the old config to the new one.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218352#4218352

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218352



More information about the jboss-user mailing list