activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Romanchuk <alexey.romanc...@gmail.com>
Subject Re: Configuring number of retries
Date Wed, 11 Nov 2009 09:21:06 GMT

So there is no simple way to put message on the "end" of queue on rollback?

I mean I understand how it can be workarounded but I will duplicate logic of
redelivery and redelivery configuration. Also what about DLQ for not
processed messages?


magellings wrote:
> 
> See http://www.nabble.com/Transactions-and-redelivery-td25915300.html 
> 
> 
> 
> Alexey Romanchuk wrote:
>> 
>> Thanks for reply Gary, it is exactly what I need. Could you also tell me
>> where I can specify that failed message should go to the end of queue to
>> allow to process other existing messages in queue?
>> For now if message fails and goes back to queue same message always sends
>> to consumer. I want to push this message to the end of queue in case of
>> fail. 
>> 
>> Thanks a lot!
>> 
>> ,
>> 
>> Gary Tully wrote:
>>> 
>>> see some detail @ http://activemq.apache.org/redelivery-policy.html
>>> 
>>> 
>>> 2009/10/23 Alexey Romanchuk <alexey.romanchuk@gmail.com>
>>> 
>>>>
>>>> Hi, all
>>>>
>>>> Assume you had a queue with 3 messages in it. Consumer use transacted
>>>> session and try to process first messages. Then he fails and call
>>>> rollback
>>>> on transaction. Is there any way to configure number of retries in this
>>>> case?
>>>>
>>>> Thanks!
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Configuring-number-of-retries-tp26023651p26023651.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>>
>>> 
>>> 
>>> -- 
>>> http://blog.garytully.com
>>> 
>>> Open Source Integration
>>> http://fusesource.com
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Configuring-number-of-retries-tp26023651p26298291.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message