Re: Load balancing using Queues

2009-07-24 Thread Scott Lewis
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

Re: Load balancing using Queues

2009-07-24 Thread Gary Tully
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. 2009/7/24 Scott Lewis > > If a Queue has multiple consumers, how/what algorithm does the Ac

Re: Load balancing using Queues

2009-07-24 Thread bwtaylor
I'll let others say how it picks which among available competing consumers gets the next message, but there are two customizations that I'm aware of: the exclusive consumer flag (changing load balancing to failover, effectively) and message groups, which provide a form of consumer affinity, so tha

Re: Load balancing using Queues

2009-07-24 Thread Carlo Camerino
hmm, i'm using apache camel for doing this one. although i set up different intermediary queues and setup consumers each. you have different choices but the one i use is round robin On Fri, Jul 24, 2009 at 3:04 PM, Scott Lewis wrote: > >