https://github.com/thiagobarradas/queue-move
Simple Queue move that stops when finish :)
https://github.com/thiagobarradas/queue-move
broker bus docker dotnet event message move rabbit rabbitmq worker
Last synced: 2 months ago
JSON representation
Simple Queue move that stops when finish :)
- Host: GitHub
- URL: https://github.com/thiagobarradas/queue-move
- Owner: ThiagoBarradas
- License: mit
- Created: 2019-12-12T00:22:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-30T23:06:23.000Z (about 6 years ago)
- Last Synced: 2025-01-13T10:08:48.573Z (over 1 year ago)
- Topics: broker, bus, docker, dotnet, event, message, move, rabbit, rabbitmq, worker
- Language: C#
- Homepage: https://hub.docker.com/r/thiagobarradas/queue-move
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://barradas.visualstudio.com/Contributions/_build/latest?definitionId=6&branchName=master)
# QueueMove
A simple worker to move Rabbit MQ messages between queues;
## Running with Docker
```
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
```
## Configuration
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` |
## How can I contribute?
Please, refer to [CONTRIBUTING](.github/CONTRIBUTING.md)
## Found something strange or need a new feature?
Open a new Issue following our issue template [ISSUE TEMPLATE](.github/ISSUE_TEMPLATE.md)
## Did you like it? Please, make a donate :)
if you liked this project, please make a contribution and help to keep this and other initiatives, send me some Satochis.
BTC Wallet: `1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX`
