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
toolchain, the library 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.15 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-python:0.7.12 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-ruby:0.7.14 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-dotnet:0.7.13 step 1
docker run --rm -p 15672:15672 ghcr.io/acemq-company/acemq-tutorials-go:0.9.9 step 1Side 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 |
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.15, acemq-java-amqp-examples
examples-v0.7.15.
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.12, acemq-python-amqp-examples
examples-v0.7.12.
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.14, acemq-ruby-amqp-examples
examples-v0.7.14.
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.13, acemq-dotnet-amqp-examples
examples-v0.7.13.
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.
Go
acemq-go-amqp 0.9.9, acemq-go-amqp-examples
examples-v0.9.9.
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.