[][src]Module rabbit_borough::consumer::consumer

Sets up and provides a consumer

Functions

consume

This is the function that the consuming is happening There are two (infinite) loops here, a. one around the consumer, which while the connection is healthy keeps dequeuing messages b. one that once the connection dies, restarts the whole process of getting a channel and setting up the consumer

consume_with_option

This is the function that the consuming is happening There are two (infinite) loops here, a. one around the consumer, which while the connection is healthy keeps dequeuing messages b. one that once the connection dies, restarts the whole process of getting a channel and setting up the consumer.

create_consumer

Create a consumer

Type Definitions

DeliveredMessage