I have couple of questions regarding spring DMLC.
- Why it is recommended by spring vendors to use DMLC(Default Message Listener Container) with transactions?
Spring DLMC and JMSTemplate behavior while using Transactions
- On consumer side if I use DMLC with sessionTransacted=false, it will use ACTO_ACK mode by default. What is the difference between both the cases (Transactions and AUTO_ACK) ? According to my understanding, Acknowledgement process looks similar to me in both the cases:
Transacted: As soon as message is received by the consumer, a commit will be send to broker and thn only broker will consider message as delivered.
Auto_Ack: Here also for each message received by the consumer, a acknowledgement will be send to the broker by consumer.
Please correct me if I am wrong.
Thanks,
Anuj