Can you use parallelisation? In which case just create one consumer
(in its own session) for each queue then you'l process things
concurrently. Otherwise you might want to create a JMS client with a
collection of consumers where you do a receive(timeout) on each queue
in order to ensure fair consumption.

I can't understand difference between two cases. In every case I need to create separate thread with separate session and consumer, am I right?

--
Thanks,
Eugene Prokopiev

Reply via email to