activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: Message announcement and routing
Date Tue, 26 Aug 2008 09:49:05 GMT
On Tue, Aug 26, 2008 at 10:35:31AM +0100, James Strachan wrote:
> > It's a good point, however this isn't the case we are worrying about for now,
> > we are just trying to prove the concept. If the consumer did not send the
> > acknowledgement, will the broker not route another messages to that consumer?
> 
> Yes - assuming the consumer closes or the process dies. If a valid
> consumer just sits there and never acks (assuming you're not using
> AUTO_ACK mode) then the broker will just assume your consumer is
> taking a long time to process the message (which is valid in many
> circumstances).

Perfect! Thank you!

> Though if you use temporary queues for all communication after the
> first message to the consumer - then there is no failover if a
> consumer dies - the whole conversation is dropped as the temporary
> queue is deleted when the consumer goes away; but then I think thats
> what you want.
> 
> i.e. reliable load balancing of the first incoming message - from that
> point on the rest of the conversation takes place on a temporary
> queue. If the consumer dies the client has to restart the conversation
> again.

Okay, thank you for the information, it was really helpful and we got some
things to think about and consider for finding a workaround later :)

-- 
Eugene N Dzhurinsky

Mime
View raw message