Tutorial :JMS Message.acknowledge() on Session.AUTO_ACKNOWLEDGE


What happens in TIBCO when Message.acknowledge() is invoked in a session with AUTO_ACKNOWLEDGE mode?

I mean is this call ignored on client-side? or server-side? or does server perform any action on this call?

The reason I ask is that there is an application which acks messasges in an auto acknowledge session. And a during highload period the method execution time is increased from 0.5 ms to 30 ms.


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.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »