Since I have started to learn RabbitMQ I'm confused over one issue. The publisher publishes message and the consumer connects to the channel and receives the message. Means that this is a push architecture and not pull architecture where consumer will automatically receive the message when its available.
I'm in a scenario where I want to connect to the server and pull the latest message in the queue manually. I have google alot and gone through many examples and didn't come to any conclusion.
I have referred to this link lastly: https://www.binpress.com/tutorial/getting-started-with-rabbitmq-in-php/164
Can anyone provide me any sort of snippet in PHP in which I can pull latest message manually?