Solved

AUTO_ACKNOWELDGE vs CLIENT_ACKNOWELDGE

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

856 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