This content has been marked as final. Show 3 replies
Thanks you both for the answer. I just figure it out with help of your replies: I was using many threads to consume the messages, but these threads were sharing the same "MessageConsumer" object, what was causing the pending messages. Once I changed to have one MessageConsumer per thread, it worked.
Thanks you both for the help :)