dotnet builddotnet run --project src/mqcat/mqcat.csproj -- --helpmqcat [command] [options]Publish a message to a queue.
mqcat publish [options]| Option | Description | Default |
|---|---|---|
| -h, --host | AMQP Broker host | localhost |
| -p, --port | AMQP Broker port | 5672 |
| -u, --user | AMQP Broker user | guest |
| -P, --password | AMQP Broker password | guest |
| -q, --queue | Queue name | |
| -m, --message | Message to publish | |
| -f, --file | File to publish | |
| -e, --exchange | Exchange name | |
| -r, --routing-key | Routing key | |
| --- | --- | --- |
Subscribe to a queue and print messages to stdout.
mqcat subscribe [options]| Option | Description | Default |
|---|---|---|
| -h, --host | AMQP Broker host | localhost |
| -p, --port | AMQP Broker port | 5672 |
| -u, --user | AMQP Broker user | guest |
| -P, --password | AMQP Broker password | guest |
| -q, --queue | Queue name | |
| -e, --exchange | Exchange name | |
| --- | --- | --- |
MIT