Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AUTO_ACKNOWELDGE vs CLIENT_ACKNOWELDGE

Posted on 2013-05-27
1
Medium Priority
?
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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.
Suggested Courses

721 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