Suppose I decide to call acknowledgment() on a JMS message several times. Say the first call fails (for non-permanent reason). Does the success of the second (or any subsequent) call guarantee that the message is now acknowledged? Is the exact behavior of acknowledgement() specified anywhere?
A:
This article will describe exactly what you want. http://www.javaworld.com/javaworld/jw-02-2002/jw-0315-jms.html
Romain Hippeau
2010-06-13 17:40:16