What do you mean by "add the release method from 0-10"? > I do agree that processing prefetched messages is not the ideal > behavior, however it is the only one available if you want to strictly > adhere to AMQP semantics, and I would expect it to also comply with JMS > semantics presuming that you block the session.close() call until > processing of prefetched messages is complete.
Is it not really up to the client developer not to use prefetch if he wants to use NO_ACK, not call consumer.close() and still quiesce the session? For example, how do you process prefetched messages for consumers that do not have a message listener, i.e. where messages are processed using receive()? RG