Subscriber not sending ack after DirectTransport set to False in CF
Hi,
Our subscriber was connected directly to topic and receiving messages. We have seen loss of messages so disabled DirectTransport in CF to create non-durable topic-endpoint. Now, we don't see message get delivered by subscriber and all spooled in non-durable. ACK window size getting reduced and it become zero. Do we need to do any changes in code to support guaranteed message delivery after DT disabled?
Comments
-
Hi Aaron, This issue is fixed after changing the mode to auto ack. Thank you !
0 -
Great! Just FYI: I'd be careful using AUTO_ACK, unless you are doing all your processing in the JMS
onMessage()
callback method. If you are passing that message to another thread for processing, you should really use CLIENT_ACK, and ensure the processing thread acknowledges the message when it is done with it. That's a common JMS mistake..!0