activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Hammer (JIRA)" <>
Subject [jira] Commented: (AMQ-1152) ActiveMQ connectionFactory ignores redeliveryPolicy
Date Tue, 21 Aug 2007 10:43:22 GMT


Per Hammer commented on AMQ-1152:

I had a similar problem (Spring+ActiveMQ, redelivery kept going if an exception was thrown
in my listener). Setting <property name="cacheLevelName" value="CACHE_CONSUMER" /> 
on my DefaultMessageListenerContainer fixed the problem, and my consumer now only receives
the message once - with no redelivery if the consumer throws an exception.

This is a workable solution for my circumstance, but I won't pretend to know enough about
the JMS spec to say if it's the Correct Behaviour or not.

> ActiveMQ connectionFactory ignores redeliveryPolicy
> ---------------------------------------------------
>                 Key: AMQ-1152
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Tim Chen
>             Fix For: 5.2.0
>         Attachments: jms.tar.bz2
> Run mvn -Dtest=JmsTest test in the attached sample application.
> Redelivery is ignored and failed messages will not stop redelivering.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message