In jms why would we not get duplicate messages on transacted sessions
posted 12 years ago
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?