Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

In jms why would we not get duplicate messages on transacted sessions  RSS feed

 
Balamaci Serban
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, we can get duplicate messages by using non transacted sessions with AUTO_ACKNOLEDGE, because the acknoledgement message might get lost.
But they say that if you can't handle any duplicates then use MDB with Container Transaction Management, which acknoledges the message on return form the onMessage() method. So I say, how come the transacted session can ensure that we don't get dupps?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!