[][src]Function rabbit_borough::consumer::setup::setup_consumer

pub async fn setup_consumer(
    connection: ConnectionProperties,
    bind: BindingProperties,
    declare: DeclareProperties
) -> SetupModel

Executes configuration defined in the configuration

  • Creates a channel
  • Declares the Queue
  • Declares the Exchange
  • Declares the Binding between the Exchange and the Queue