This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

acknowledgement mode  RSS feed

 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't get the point of acknowledgement mode for message driven beans (Auto-acknowledge, Dups-ok-acknowledge). Is this part of the exam objectives ?
 
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure it is on the exam, has anyone seen a question related to message acknowledgment ?

Anyways, to answer your question:

Auto-acknowledge : tells the container that it should send an acknowledgment to the JMS provider soon after the message is given to an MDB instance to process
Dups-ok-acknowledge : tells the container that it doesn't have to send the acknowledgment immediately

So the bottom line is that auto-acknowledge will not send duplicate messages while dups-ok-acknowledge might send a message that has already been sent.
 
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is this part of the exam objectives ?



Yes
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!