Step 1 — Your first message
Connect, declare, publish with a confirm, consume, acknowledge.
Run it
One command, whichever language you came for. The image carries the
library, the example built, its runtime and RabbitMQ; the management UI
is on http://localhost:15672
(guest/guest) while it runs, and --keep holds it open
afterwards.
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-java:0.7.20 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-python:0.7.17 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-ruby:0.7.19 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-dotnet:0.7.18 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-go:0.9.14 step 1
docker run --rm -p 15672:15672 -e TUTORIAL_VARIANT=vbnet ghcr.io/acemq-company/acemq-tutorials-dotnet:0.7.18 step 1 # .NET in VB.NETSide by side
| Java | Python | Ruby | .NET | Go | |
|---|---|---|---|---|---|
| Example | 01-publish-and-confirm |
01-publish-and-consume |
01-publish-and-consume |
01-publish-and-consume-csharp
(VB.NET) |
01-publish-and-consume |
| Tutorial: first message | Java | Python | Ruby | .NET | Go |
| Publishing | Java | Python | Ruby | .NET | Go |
| Consuming | Java | Python | Ruby | .NET | Go |
Java
acemq-java-amqp 0.7.20, acemq-java-amqp-examples
examples-v0.7.20.
basic/01-publish-and-confirm
The smallest useful thing you can do with AceMQ: send a message, have the broker take responsibility for it, and receive it on the other side.
Python
acemq-python-amqp 0.7.17, acemq-python-amqp-examples
examples-v0.7.17.
basic/01-publish-and-consume
A durable queue, a confirmed publish, and a consumer that says what it did.
Ruby
acemq-ruby-amqp 0.7.19, acemq-ruby-amqp-examples
examples-v0.7.19.
basic/01-publish-and-consume
The smallest thing worth running: a topic exchange, a durable quorum queue, a message published to it, and a consumer that says what it read. Everything else in this repository is this with one more idea added.
.NET
acemq-dotnet-amqp 0.7.18, acemq-dotnet-amqp-examples
examples-v0.7.18.
basic/01-publish-and-consume-csharp
One order published to a durable queue, confirmed by the broker, and read back by a consumer that has to say what it did with it — the smallest program that still uses the library the way a service would.
The VB.NET twin, basic/01-publish-and-consume-vbnet,
is the same program; -e TUTORIAL_VARIANT=vbnet runs it
instead.
Go
acemq-go-amqp 0.9.14, acemq-go-amqp-examples
examples-v0.9.14.
basic/01-publish-and-consume
The smallest AceMQ for Go program that is still honest: connect, declare a durable queue, publish one order and wait for the broker to confirm it, then consume it with a handler that has to say what it did with the message.