On 8 August 2014 at 15:36:24, Asadullah Hussain (
asad...@gmail.com) wrote:
> > Hello, I just started out with RabbitMQ on Linux and am going
> through the tutorials(
http://www.rabbitmq.com/tutorials/).
> The AMQP protocol(
https://www.rabbitmq.com/tutorials/amqp-concepts.html)
> states that there are two ways to for consumer:
> Have messages delivered to them ("push API")
> Fetch messages as needed ("pull API")
> Which type of message consumption is this (Push or Pull)? It seems
> the tutorials employ push API
The tutorials use basic.consume, which creates a subscription. RabbitMQ
then delivers messages to the consumer as they become available.
So yes, this is what is known as the "push API". The "pull API" uses
basic.get.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ