Re: Nack a message in Artemis core API

2019-05-23 Thread Riyafa Abdul Hameed
Thank you. Let me try that. On Thu, 23 May 2019 at 01:28, Justin Bertram wrote: > If you want to reject a message then when you create your consumer make > sure you set autoCommitAcks to false and then if you want to reject a > message invoke > org.apache.activemq.artemis.api.core.client.ClientS

Re: Nack a message in Artemis core API

2019-05-22 Thread Justin Bertram
If you want to reject a message then when you create your consumer make sure you set autoCommitAcks to false and then if you want to reject a message invoke org.apache.activemq.artemis.api.core.client.ClientSession#rollback(). See this test-case [1] for an example. Justin [1] https://github.com/