Question: how aqm works in pega?
Answer: When AQM is enabled, then when a queue entry is retrieved for processing by the agent activity, the system locks that entry until a commit or rollback occurs at the end of processing. (This allows one agent/node to have exclusive rights to that queue entry; no agent on another node can process it.)