activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dummy541 <>
Subject Using GroupId and more than 1 session for consumer
Date Wed, 04 Aug 2010 07:02:10 GMT

hello together,
following problem:
before yesterday, i had a queue with one consumer (MDB). Maxsession for this
consumer was 10.
So, I had a good performance.
Now I found a case, that I have to keep order of some messages. 
So. Now I use the groupid an one more consumer. But it seems, that
maxsession of every consumer
have to be 1 for groupid is working.
When I set maxsession higher then 1, all messages of a groupid goes to only
ONE consumer (thats right) and
to more then one Thread(because maxsession >1). But because this (more
threads) the ordering become lost.

My only solution for this, at the moment is, to create 10 consumer with only
one session. 
But thats not really fine.
Have anybody a other solution like this ?
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message