Skip to content

fallmo/amqp-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMQP-PUBLISHER

HELP

Usage:
amqp-publisher publish [--flags] [message]


Examples:
amqp-publisher publish --amqp-uri "amqp://localhost:5672" --queue events hello
amqp-publisher publish --amqp-uri "amqp://localhost:5672" --queue events --content-type application/json '{"msg": "hello"}'
AMQP_URI="amqp://localhost:5672" amqp-publisher publish  --queue events --immediate hello


Flags:
      --amqp-uri string       URI connection string to AMQP server
      --content-type string   MIME content type of the message (default "text/plain")
  -h, --help                  help for publish
      --immediate             Undeliver publishing if no consumer on the matched queue is ready to accept the delivery.
      --mandatory             Undeliver publishing if no queue is bound that matches routing key
      --queue string          Queue name / routing key

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published