Pregunta de entrevista de Ness Digital Engineering

How to read message from queue without removing it from a queue?