Guaranteed Delivery using JMS Message Acknowledgement
JMS ensures guaranteed message delivery through JMS Message Acknowledgement (Acknowledge modes). If a session is transacted, message acknowledgment is handled automatically by the commit() method. Otherwise, the recovery is handled by the rollback() method. In this article, we will assume that the session is not transacted. This is an advance topic, make sure you have a basic understanding of JMS. [...]