How to ack message?
I am using JCSMP 10.9.1 API in my code.
I want to control the acki'ng of the messages on the consumer side instead of relying on
auto_ack. So, I set the message ack mode to
client_ack. And I am calling
message.ackMessage() after every 1000 message. However, after 20000 number of messages, my consumer stops getting messages from the Solace. In solace router side, Max Delivered unacked msgs is set to 20000. It seems iike I am not acking fast enough. So my question is what is the proper way of acking. I have also set
JCSMPGlobalProperties.setConsumerDefaultFlowCongestionLimit to 20000