activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Total Message Order of Queues (not topics) durring edge cases(crashes)
Date Fri, 07 Aug 2009 05:29:37 GMT
Actually using an exclusive consumer is a great idea - also Message  
Groups - would work in a similar way too.
cheers,

Rob
On 6 Aug 2009, at 23:37, jerdavis wrote:

>
> Thanks for your answer Rob, this is exactly what I was looking for. :)
> Total Ordering seems like such a fundamental thing for a Persistent  
> Queue.
> I'm surprised there hasn't been a solid answer to this question. Is  
> there a
> standard way people get around this?
> Would an Exclusive Consumer guarantee Total Order?
> I would think that a new Exclusive consumer wouldn't be able to  
> consume
> messages until the crashed TCP connection/consumer finally closed and
> released the outstanding messages.
>
> Regards,
> -JD
>
>
>
>
>
>
> rajdavies wrote:
>>
>>
>> On 5 Aug 2009, at 23:13, jerdavis wrote:
>>
>>>
>>> No takers?
>>> --  
>>> View this message in context:
>>> http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>
>>
>> Total ordering may be violated for consumer crashes with the default
>> prefetch sizes - see
>> http://activemq.apache.org/what-is-the-prefetch-limit-for.html
>>  to reduce this possibility to a single message - set a prefetch size
>> = 0.
>>
>> cheers,
>>
>> Rob
>>
>> Rob Davies
>> I work here: http://fusesource.com
>> My Blog: http://rajdavies.blogspot.com/
>> I'm writing this: http://www.manning.com/snyder/
>>
>>
>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24855824.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Mime
View raw message