Link to home
Create AccountLog in
Avatar of nicolas_maujean
nicolas_maujean

asked on

What is the difference between maxsize of @pool and maxsession of activationconfig @MessageDriven ?

Hi,

   I would like to know the difference between maxSize of @pool and maxsession of activationconfig @MessageDriven ?

Thanks for your answers,

Nicolas Maujean
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of nicolas_maujean
nicolas_maujean

ASKER

Something doesn't make sens if I instantiate 5 MDB, it will be the same MDB. how they can handle more than 1 session after that , once a MDB treat a message, he can't treat another message at the same time
Something doesn't make sens if I instantiate 5 MDB, it will be the same MDB.

No, it won't be the same MDB. It will be 5 different *instances* of MDB (unless your MDB is static).
yes different instance of the same MDB
So five instances can process 100 messages.
ok, I understand better your answer, thank you