Hi, In my .NET application, we use the Apache NMS DLL to consume ActiveMQ messages with transactional commits. Occasionally, after processing a message, session.commit() fails with TransactionRolledBackException. Since the message is already processed, I want to prevent re-receiving it. Can I call message.Acknowledge() if session.commit throws TransactionRolledBackException to ensure the message is committed?
Regards, Nitesh