RE: Java client and message release or reject

2012-11-09 Thread Jan Bares
Thanks Pavel, I already tried this method and found it does call release, not reject. It seems it is there to support Java broker way of rejecting. I did a dirty hack and call directly SessionInvoker.messageReject(). It works but I dont like this solution. In my opinion the AMQSession.rejectMes

Re: Java client and message release or reject

2012-11-09 Thread Pavel Moravec
Hi Jan, greping source code, I found just one possibility: ((AMQSession) ssn).rejectMessage((AbstractJMSMessage) msg, false); that however does not invoke message.reject AMQP method, but rather message.release method. I.e. it releases the message, not rejects. So I think there is no

RE: Java client and message release or reject

2012-11-09 Thread Jan Bares
Is there any particular reason why rejectMessage() still calls messageRelease() ? Should I file bug report? This is from QPID 0.18. Thanks, Jan /** * Release (0_8 notion of Reject) an acquired message * * @param deliveryTag the message ID * @param requeue always true