rabbitmq-consumer-cli

command module
v0.0.0-...-c62080b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

README

rabbitmq-consumer-cli

Extracted from https://github.com/streadway/amqp/blob/v1.0.0/_examples/simple-consumer/consumer.go

Usage

rabbitmq-consumer-cli -lifetime 1m -queue events -uri $AMQP_URL -durable=false -exchange direct

Documentation

Overview

This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL