Solved

AUTO_ACKNOWELDGE vs CLIENT_ACKNOWELDGE

Posted on 2013-05-27
1
146 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

747 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

16 Experts available now in Live!

Get 1:1 Help Now