According to Java Message Service, Second Edition
The acknowledge() method should only be used with the CLIENT_ACKNOWLEDGE mode; if used with the AUTO_ACKNOWL EDGE or DUPS_OK_ACKNOWLEDGE mode, the call is ignored by the JMS provider.
Sujee
2010-08-16 16:42:16