# Install activemq-cpp with Homebrew, dnf

C++ API for message brokers such as Apache ActiveMQ. Version 3.9.5 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:activemq-cpp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install activemq-cpp
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install activemq-cpp
```

  Evidence: Fedora Rawhide package metadata: activemq-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:activemq-cpp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/activemq-cpp>
- **Version:** 3.9.5
- **Source summary:** C++ API for message brokers such as Apache ActiveMQ
- **Homepage:** <https://activemq.apache.org/components/cms/>
- **Repository:** <https://github.com/apache/activemq-cpp>
- **Upstream docs:** <https://activemq.apache.org/components/cms/documentation>
- **License:** Apache-2.0
- **Source archive:** <https://www.apache.org/dyn/closer.lua?path=activemq/activemq-cpp/3.9.5/activemq-cpp-library-3.9.5-src.tar.bz2>
- **Last updated:** 2026-06-19T12:30:01-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- activemqcpp-config (cli)
- example (cli)
- activemqcpp-config (alias)
- example (alias)

## Dependencies

- apr
- openssl@3

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.9.5
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://activemq.apache.org/components/cms/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ActiveMQ-CPP is Apache ActiveMQ's C++ client library implementing the CMS API, a JMS-like interface for C++ applications talking to message brokers such as Apache ActiveMQ.

### Project history

Apache documents CMS as a C++ Messaging Service API and identifies ActiveMQ-CPP as its implementation. The library supports OpenWire and Stomp over TCP and SSL, failover transport, and auxiliary portable classes for threading, I/O, sockets, and synchronization.

### Adoption history

The official download list shows a long 1.x, 2.x, and 3.x release line from ActiveMQ-CPP 1.0 through 3.9.5, plus CMS API releases. Homebrew and distribution package records reflect its role as a packaged native client library for C++ messaging applications.

### How it is used

Developers link the library into C++ clients that need to connect to a message broker. The source README documents Unix builds with autogen.sh, ./configure, make, make install, Doxygen generation, unit tests, integration tests against a broker, and MSVC support on Windows.

### Why package nerds care

ActiveMQ-CPP is packaging-relevant because it is a native C++ dependency with APR, APR-Util, OpenSSL, CppUnit, autotools, generated docs, test binaries, and platform-specific build notes, the kind of library where package recipes encode real build-system knowledge.

### Timeline

- 2007: ActiveMQ-CPP 1.0 tag created.
- 2007: CMS API 1.0 tag created.
- 2009: ActiveMQ-CPP 3.0 tag created.
- 2013: ActiveMQ-CPP 3.7.0 tag created.
- 2019: ActiveMQ-CPP 3.9.5 release tag created.
- 2025: Apache CMS download page lists 3.9.5 as the current stable release.

### Related projects

- The Apache CMS pages relate ActiveMQ-CPP to Apache ActiveMQ, the CMS API, OpenWire, Stomp, APR, APR-Util, CppUnit, and OpenSSL.

### Sources

- Official Apache ActiveMQ-CPP source README for build, test, platform, and dependency history.
- Official Apache CMS component, documentation, and download pages for project purpose and release line.
- Official Apache GitHub tag metadata for release tag dates.


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** activemq-cpp
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- dnf - activemq-cpp - 3.9.5-6.fc44: normalized package name match | Fedora Rawhide package metadata: activemq-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | C++ implementation of JMS-like messaging client | http://activemq.apache.org/cms/
- dnf - activemq-cpp-devel - 3.9.5-6.fc44: normalized package name match | Fedora Rawhide package metadata: activemq-cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | C++ implementation header files for JMS-like messaging | http://activemq.apache.org/cms/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [apr](https://www.automicvault.com/pkg/brew/apr/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ada-url](https://www.automicvault.com/pkg/brew/ada-url/) - Shares av.db curated category or tags: cli, cpp, developer-tools, libraries.
- [cgal](https://www.automicvault.com/pkg/brew/cgal/) - Shares av.db curated category or tags: cli, cpp, developer-tools, libraries.
- [curlpp](https://www.automicvault.com/pkg/brew/curlpp/) - Shares av.db curated category or tags: cli, cpp, developer-tools, libraries.
- [etl](https://www.automicvault.com/pkg/brew/etl/) - Shares av.db curated category or tags: cli, cpp, developer-tools, libraries.
- [imessage-ruby](https://www.automicvault.com/pkg/brew/imessage-ruby/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [nng](https://www.automicvault.com/pkg/brew/nng/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [riemann-client](https://www.automicvault.com/pkg/brew/riemann-client/) - Shares av.db curated category or tags: cli, client-library, developer-tools, libraries.
- [ucommon](https://www.automicvault.com/pkg/brew/ucommon/) - Shares av.db curated category or tags: cli, cpp, developer-tools, libraries.
- [rabbitmq-c](https://www.automicvault.com/pkg/brew/rabbitmq-c/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, client-library, developer, developer-tools.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Package names and metadata indicate a similar tool family. Shared terms: activemq, apache, cli, message, messaging.
- [fbthrift](https://www.automicvault.com/pkg/brew/fbthrift/) - Local package facts share a topical domain. Shared terms: apache, cli, cpp, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/activemq-cpp.yml](https://github.com/automic-vault/db/blob/main/combined/activemq-cpp.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
