I make some tests in transaction mode and randomly the consumer return null
while there are still some messages left.
One time it cosume all messages, one time 200, one time 400.
I use the consumer receive method with a timeout. I try to increase the
timeout but nothing change
If I do a commit after each receive it cosume all messages.
I make a test with receive method without timeout and It work, but I cannot
use it because my program must respond quickly.