Solved

AUTO_ACKNOWELDGE vs CLIENT_ACKNOWELDGE

Posted on 2013-05-27
1
150 Views
Last Modified: 2013-06-01
I would like to know differences, advantages, disadvantages, practical uses between AUTO_ACKNOWELDGE vs CLIENT_ACKNOWELDGE

Any links, sample code, resources, ideas highly appreciated. Thanks in advace
0
Comment
Question by:gudii9
1 Comment
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39201451
AUTO_ACKNOWLEDGE means that as soon as the JMS client library pass the message to your code, it will send an acknowledgement to the browser. Even if your code fails/throws exception/etc the message has already been acknowledged and wouldn't be redelivered.

CLIENT_ACKNOWLEDGE means that your code has to initiate the acknowledgement. This means that you can delay the acknowledgement until you know that the message has been fully processed. If you fail to initiate the acknowledgement, then the message will be redelivered the next time you ask for a message (or the next time a message is sent to your MessageListener).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
solarwind tftp server 2 45
Java and GPO 11 73
windows explorer path to command prompt 5 33
Why my table column Id is not passed to java object? 4 28
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now