Skip to content

FGRibreau/amqp-replay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amqp-replay

Get help on Codementor Slack

Replay messages from (RabbitMQ) AMQP dead-letter queue

Philosophy

amqp-replay

Getting Started

Setup with Docker
# add this to your [bash|zsh]rc and source it
function amqp-replay(){
  docker run -it -e AMQP_URI=$AMQP_URI -e AMQP_QUEUE_NAME=$AMQP_QUEUE_NAME -e AMQP_QUEUE_NOACK=$AMQP_QUEUE_NOACK -e AMQP_EXCHANGE_NAME=$AMQP_EXCHANGE_NAME --rm fgribreau/amqp-replay:v0.3.0
}
Setup with Node
npm i amqp-replay -g
Run it
AMQP_URI="amqp://user:password@rabbitmq.ndd.com:5672/%2F" AMQP_QUEUE_NAME="social.test" AMQP_EXCHANGE_NAME="fgtest" amqp-replay

Add INFINITE=true to replay the queue message infinitely.

License

See LICENSE.