activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Prokopiev <>
Subject Balanced reading from queue group
Date Mon, 21 Aug 2006 06:18:24 GMT

Suppose I have this queues:


I need to read messages from every queue and process them in the same 
way. Processing will consume significant time (1s or more). Message 
incoming distribution is 1 message per 1 minute in every queue, but 
sometimes in one queue can apper about 1000 messages in short time 
period. The main demand to processing application is not delay 
processing of other queues and process big amount of messages in rest 
time. So, any round robin reading algorithm must be used in this case.

Is it possible to do it automatically with one consumer (or pool of 
consumers) which will be read from queue://mesages.> or need I create 
separate consumer for each queue to implement this behavior?

Eugene Prokopiev

View raw message