Hi Gordon, I already did that. The documentation says that with incoming windows size to 0, the message should be automatically acknowledged (so disposition frame should be sent) ... but it doesn't happen.
Paolo PatiernoSenior Software Engineer Windows Embedded & IoTMicrosoft Azure Advisor Twitter : @ppatierno Linkedin : paolopatierno Blog : DevExperienceBlog : Embedded101 > Date: Mon, 8 Feb 2016 16:55:33 +0000 > From: [email protected] > To: [email protected] > Subject: Re: Rejecting/Accepting message with Qpid Proton-J > > On 02/06/2016 09:46 PM, Paolo Patierno wrote: > > Hello, > > I'm facing the following "strange" behavior with the Messenger class in the > > Qpid Proton-J implementation.Using ActiveMQ as AMQP broker and receiving a > > message, I see that calling the "reject" method on the Messenger nothing > > happens : the client doesn't send the disposition frame to the broker with > > rejected annotation.It happens only if I execute the "stop" method on the > > Messenger (of course the "stop" method also send the close frame to the > > broker).The same is with "accept" method : no disposition is sent when I > > call it on the Messenger instance. > > Why ? > > I'm no expert on messenger, but I believe you have to set the incoming > window (which is 0 by default if I recall correctly) in order to be able > to set a status on messages. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
