amqp-publish

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2017 License: MIT Imports: 5 Imported by: 0

README

amqp-publish

A simple tool to publish messages to RabbitMQ from the command line.

Setup

Download the latest release binary and save it to /usr/local/bin or any executable path.

Usage

Publish to exchange

amqp-publish --uri="amqp://admin:password@localhost:5672/" --exchange="foo" --routing-key="awesome-routing-key" --body="hello, world!"

Publish the bar queue directly, using RabbitMQ default exchange

amqp-publish --uri="amqp://admin:password@localhost:5672/" --exchange="" --routing-key="bar" --body="hello, world!"

Cry for help

amqp-publish --help

Credit

Streadway's awesome AMQP Go library.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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