RE: Java JMS acknowledge and prefetech

2014-02-20 Thread Jan Bares
No problem at all, thank you for your time and support Rob > -Original Message- > From: Rob Godfrey [mailto:rob.j.godf...@gmail.com] > Sent: Thursday, February 20, 2014 4:57 PM > To: users@qpid.apache.org > Subject: Re: Java JMS acknowledge and prefetech > > I hav

Re: Java JMS acknowledge and prefetech

2014-02-20 Thread Rob Godfrey
I have reported the bug as https://issues.apache.org/jira/browse/QPID-5570and it is (hopefully) fixed on trunk after revision 1570234. Apologies again, Rob On 20 February 2014 16:33, Rob Godfrey wrote: > OK - I have found the issue, it is indeed a bug in the Qpid client :-( > > The issue is i

Re: Java JMS acknowledge and prefetech

2014-02-20 Thread Rob Godfrey
OK - I have found the issue, it is indeed a bug in the Qpid client :-( The issue is in client acknowledge where, if you only have one message to acknowledge, it will actually acknowledge all of the prefetched messages. I shall check in a fix presently. If you use other acknowledge modes or if y

Re: Java JMS acknowledge and prefetech

2014-02-20 Thread Rob Godfrey
Hi Jan, I'll look into this - a first read through of the code didn't highlight any screaming errors in the Qpid client code (it appears to track the last message each message consumer has delivered to the application, and then when message.acknowledge() is called updates all the messages delivere

Java JMS acknowledge and prefetech

2014-02-20 Thread Jan Bares
Hi, I need someone with good JMS knowledge to clarify the Message.acknowledge(): "Acknowledges all consumed messages of the session of this consumed message". With QPID 0.26 and AMQP 1.0 is seems that acknowledge also acknowledges prefetched messages that were not returned from receive() or onM