When I send a message to the queue specifying session as CLIENT_ACKNOWLEDGE, the message is stored in the queue and a receiver receives the message. I haven't confirmed the messages, so when I call again to the receive method, I should get the messages. But I don't get anything. And when I restart JBoss It works correctly because I get the messages again. It's strange. It's a bug or I'm missing something?.