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 <pka...@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

Reply via email to