Why not have 160 competing consumers on one queue?
On Tue, Nov 12, 2013 at 11:24 AM, salemi <[email protected]> wrote: > Hi All, > > > We have 160 queues and each of them is connected to a consumer. We would > like to distribute the incoming messages among those queues. > > The routing algorithm we use is very simple as followed. > > Math.abs(aPropertyInMessage.hashCode()) % 160; > > Does AMQ have built-int routing? Is there a way to put the routing code in > AMQ? > > Thanks, > Ali > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Does-AMQ-have-built-in-routing-tp4674227.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
