activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Lewis <sle...@eclipsesource.com>
Subject Re: Load balancing using Queues
Date Fri, 24 Jul 2009 18:35:33 GMT

Thanks much for the response.

You mention customization via a destination policy entry.  Do you have (or
know of) example code that I could look at (i.e. somewhere in the ActiveMQ
examples)?  And how is priority set?

And another question about Queues while I've got you on the line:  As far as
I can tell, there is no way for the queue consumer to send a response back
to the producer (i.e. the process that added a message to a queue).  I'm
thinking of doing load balancing of RPC calls, where a return value
can/could be returned by the consumer.  Unless I misunderstand, this doesn't
seem possible with a single Queue.  

Thanks for any clarification.

Scott


Gary Tully wrote:
> 
> it uses a round robin dispatch policy by default but can be configured to
> use a strict order (same consumer up to prefetch limit) via a destination
> policy entry. Also priority is taken into consideration.
> 
> 

-- 
View this message in context: http://www.nabble.com/Load-balancing-using-Queues-tp24646257p24649740.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message