Infosys interview question

how transactions are managed using queues?