activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmocnik <m.moc...@e-nnovation.at>
Subject Re: Rollback and acknowledge
Date Thu, 11 Dec 2008 16:25:42 GMT

Okay, thanks, that looks like something in the right direction, though I
think it will take me some time to understand camel and how to use it with
activemq.

Thanks again,
Marko



James.Strachan wrote:
> 
> 2008/12/11 mmocnik <m.mocnik@e-nnovation.at>:
>>
>>
>>
>> James.Strachan wrote:
>>>
>>> 2008/12/11 mmocnik <m.mocnik@e-nnovation.at>:
>>>>
>>>>
>>>> James.Strachan wrote:
>>>>>
>>>>>> [...]
>>>>> though I think putting redelivered messages at the tail of the queue
>>>>> (so its dispatched last) is what you want - so resending the message
>>>>> rather than rolling back & closing is probably more suitable
>>>>>
>>>> Yes, that is what I want to achieve, but if I do it that way I'm
>>>> loosing
>>>> the
>>>> benefits of redelivery by ActiveMQ:
>>>> - RedeliveryDelay (with exponentialBackoff)
>>>> - RedeliveryLimit
>>>
>>> But those don't matter if the next message you are processing is a
>>> totally different message?
>>>
>>> --
>>> James
>>> -------
>>> http://macstrac.blogspot.com/
>>>
>>> Open Source Integration
>>> http://fusesource.com/
>>>
>>>
>>
>> Well, not for the next message, but for the message I want to resend.
> 
> Sending the message to be rolled back to the head of the queue will
> add a delay (since consumers will have to process all pending messages
> first).
> 
> If you want an explicit delay before republishing the message I'd
> suggest using Camel with the delayer...
> http://activemq.apache.org/camel/delayer.html
> 
> so you'd send to the delay queue with some timeout; then the delayer
> could then route it back to the queue
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://fusesource.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Rollback-and-acknowledge-tp20934209p20958859.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message