activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Kamin <pka...@adobe.com>
Subject Re: Unacknowledged message is not redelivered
Date Wed, 28 Apr 2010 15:51:34 GMT
Hi Gary,

thanks for your answer.

Cheers
Patrick

On Apr 27, 2010, at 11:59 AM, Gary Tully wrote:

> You need to use a transacted session and rollback on an error to get client
> side redelivery. See the redelivery policy test for examples:
> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java?view=markup
> 
> On 27 April 2010 10:40, Patrick Kamin <pkamin@adobe.com> wrote:
> 
>> Hi community,
>> I'm facing an issue with the following setup.
>> 
>> ActiveMQ version: 5.3.1 embedded via xbean configured
>> Persistent queue (Kaha)
>> OS: CentOS java 1.6
>> App server: Tomcat with spring
>> 
>> I have one consumer (one async session with INDIVIDUAL_ACKNOWLEDGE). If I
>> don't acknowledge a message due to i.e. processing errors this message is
>> unfortunately never redelivered during runtime. Once I restart the broker
>> the message is redelivered successfully. But I would like to get the
>> behavior that the broker tries to redeliver the message after a certain time
>> (initialRedeliveryDelay?)
>> 
>> Thanks in advance for your support
>> 
>> Best
>> Patrick
>> 
>> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com


Mime
View raw message