Skip to content

Use the official ActiveMQ Classic image in the examples - #83

Closed
christopherread wants to merge 1 commit into
masterfrom
examples/activemq-classic
Closed

christopherread wants to merge 1 commit into
masterfrom
examples/activemq-classic

Conversation

@christopherread

Copy link
Copy Markdown
Owner

Fixes #76.

Changes (Examples/docker-compose.yml)

  • Image: rmohr/activemq:latest, an unmaintained community image on ActiveMQ 5.15, is replaced by the official apache/activemq-classic:6.2.0, pinned to a version.
  • Credentials: sets ACTIVEMQ_CONNECTION_USER and ACTIVEMQ_CONNECTION_PASSWORD to admin/admin. That's what the example client and service pass to WithCredentials, and the official image only enforces connection credentials when these are set.
  • Ports: unchanged (61616 OpenWire, 8161 web console). The image already binds the web console to all interfaces (-Djetty.host=0.0.0.0), whose default login is admin/admin.
  • Cleanup: removes the obsolete version: key, which Compose v2 ignores with a warning.

Testing

  • The YAML parses.
  • Not run: there's no Docker on the machine this was made on. Obvs.ActiveMQ connects over OpenWire through Apache.NMS.ActiveMQ 2.3.0, which ActiveMQ Classic 6 supports. To check it:
    • run docker compose up in Examples/;
    • check the service logs that it connected;
    • run the example client against tcp://localhost:61616 and send a command.

🤖 Generated with Claude Code

Replace the unmaintained rmohr/activemq image with
apache/activemq-classic:6.2.0, require the admin/admin credentials the
examples connect with, and drop the obsolete compose version key.

Fixes #76

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@christopherread

Copy link
Copy Markdown
Owner Author

Combined into #104, which includes this change as its own commit.

christopherread added a commit that referenced this pull request Oct 25, 2026
…h and NATS.Net ports, Kafka subscribe fix (#104)

Fixes #74, fixes #76, fixes #77, fixes #78, fixes #79, fixes #103.

Combines #82, #83, #96, #98 and #99, plus the Kafka subscribe fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@christopherread
christopherread deleted the examples/activemq-classic branch October 25, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use the official ActiveMQ image in the examples' docker-compose

1 participant