> 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?
No - in the second case you could share a session across all consumers
and just have 1 thread processing a message at once. i.e. the second
case is when you only want to process one message at once
Thanks. First case is looks like more suitable for me.