A simple worker to move Rabbit MQ messages between queues;
10K+
A simple worker to move Rabbit MQ messages between queues;
docker run --name queue-move -d \
-e OriginQueueConnectionString="amqp://user:password@localhost:5672/current-vh" \
-e OriginQueueName=my-demo-queue \
-e DestinationQueueConnectionString="amqp://user:password@localhost:5672/other-vh" \
-e DestinationExchangeName=my-other-exchange \
-e DestinationQueueName=my-other-queue \
-e StopWhenEmpty=false \
thiagobarradas/queue-move:latest
Set environment variables to setup QueueMove:
| Env Var | Type | Required | Description | e.g. |
|---|---|---|---|---|
OriginQueueConnectionString | string | yes | origin rabbit connection | amqp://user:pass@localhost:5672/current-vh |
OriginQueueName | string | yes | origin queue name | some-queue |
DestinationQueueConnectionString | string | yes | destination rabbit connection | amqp://user:pass@localhost:5672/other-vh |
DestinationExchangeName | string | no | destination exchange name | other-exchange |
DestinationQueueName | string | no | destination queue name | other-queue |
StopWhenEmpty | bool | no | when origin queue is empty (0 messages) this worker is stopped | false |
https://github.com/ThiagoBarradas/queue-move
if you liked this project, please make a contribution and help to keep this and other initiatives, send me some Satochis.
BTC Wallet: 1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX

Content type
Image
Digest
Size
70.1 MB
Last updated
over 6 years ago
docker pull thiagobarradas/queue-move