Semantics of repeated acknowledgments in JMS
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 guarante开发者_如何学编程e that the message is now acknowledged? Is the exact behavior of acknowledgement() specified anywhere?
This article will describe exactly what you want. http://www.javaworld.com/javaworld/jw-02-2002/jw-0315-jms.html
精彩评论