2008/4/9 Rafael Schloming <[EMAIL PROTECTED]>: > The test mentioned in the subject seems to test for behavior that is not JMS > compliant. Specifically it consumes from a queue with two messages, receives > one message, closes the consumer, consumes from the same queue again and > expects both messages to be there. Essentially it is testing that closing > the consumer will push the messages back onto the queue. This seems to > directly contradict the semantics described here: > > http://java.sun.com/products/jms/faq.html#msg_ack_close >
I agree with your reading of the JMS spec - the current behaviour seems to be incorrect. -- Rob
