Originally posted by sergiu truta:
If you throw an exception from inside onMessage(), the container will know that it has to put the message back into the Queue.
Originally posted by Lasse Koskela:
..the message you just read from the queue won't be put back. You need to throw an exception...