gemmellr commented on PR #86:
URL: https://github.com/apache/activemq-nms-amqp/pull/86#issuecomment-1470152012

   Also for reference, just reaching in and changing the implementation object 
details directly is not how it is to be used in qpid-jms, the 'ack type' enum 
is set and converted elsewhere and passed through to that referenced consumer 
code. We added a JMS_AMQP_ACK_TYPE vendor int property to set on the Message to 
manipulate the type of disposition actually sent when the Session is 
acknowledged using that Message objects message.acknowledge() method  (also 
works when using the individual-acknowledge custom ack mode).
   
   int prop values as:
   ACCEPTED = 1;
   REJECTED = 2;
   RELEASED = 3;
   MODIFIED_FAILED = 4;
   MODIFIED_FAILED_UNDELIVERABLE = 5;
   
   Testing: 
https://github.com/apache/qpid-jms/blob/main/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/AmqpAcknowledgementsIntegrationTest.java#L100-L361


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to