How to migrate from ActiveMQ to RabbitMQ without a big-bang cutover
The move from ActiveMQ Classic to RabbitMQ is mainly a redesign of routing, persistence, clients and cutover, and the effort tracks the JMS surface area and routing design more than message volume. A team that uses plain queues and topics with simple sends will move faster than one that relies on message groups, virtual destinations, composite destinations, wildcards or durable subscriptions, because each of those needs a RabbitMQ equivalent or an application change. The protocols that carry over most directly are AMQP 1.0, MQTT and STOMP, since ActiveMQ Classic already supports all three alongside JMS and RabbitMQ supports them too. RabbitMQ made AMQP 1.0 a core protocol in 4.0, while MQTT and STOMP arrive through plugins, so enable and version-check them early. Before you plan on any bulk migration tool, confirm with RabbitMQ or Broadcom which tooling supports your broker versions, message formats and JMS usage.
Start with an inventory of every producer, consumer and destination, and tag each one by the JMS features it uses, whether it depends on durable subscriptions or selectors, and whether it relies on ActiveMQ's shared storage high availability or a network of brokers. JMS client code does not run unchanged on RabbitMQ, so each client needs an AMQP or MQTT path and a client library you have confirmed works with your JMS version. Map each destination to an exchange and queue, and send durable, replicated work to quorum queues, which use the Raft consensus algorithm. Classic queue mirroring was removed in RabbitMQ 4.0, so an ActiveMQ design built on KahaDB or JDBC persistence and shared storage does not carry over as a settings change. Move one low-risk flow at a time, and keep the ActiveMQ path available until the new one has run through a full business cycle.
Choose the RabbitMQ release line before you design the cutover, because it sets the support window for the whole run. Check the RabbitMQ release information for current community dates: RabbitMQ 4.3.6 has community support until January 31, 2027, and 4.2 community support ended on July 31, 2026, so 4.2 is already outside community support. Support beyond community dates requires a valid commercial support license, and lifecycle details sit on the Broadcom support portal, so confirm them before you commit. On the ActiveMQ side, confirm whether you run the 5.19.x or 6.2.x line, since 5.19.x continues with maintenance releases while 6.2.x is the newer series. Finally, agree a rollback trigger for each flow, such as consumer lag, duplicate delivery or a rise in dead-lettered messages, and route producers back to ActiveMQ if it is crossed while in-flight messages drain.
What maps cleanly in an ActiveMQ to RabbitMQ migration and what needs redesign
This table maps each ActiveMQ Classic capability to its closest RabbitMQ equivalent and notes what to confirm before cutover. Read the middle column for the target and the last column for the work it creates. The main takeaway is that protocol clients and persistence move with a plan, while JMS code, transactions and broker topology need redesign and testing before sign-off.
| Source capability | RabbitMQ equivalent | Migration notes |
|---|---|---|
| AMQP, MQTT and STOMP clients | AMQP 1.0 (core since 4.0), MQTT plugin (3.1, 3.1.1, 5.0), STOMP plugin | Confirm each client's protocol version and test it end to end on the target release. |
| JMS queues and topics | AMQP queues and exchanges, with routing set by bindings | JMS application code needs an AMQP, MQTT or STOMP client, so budget for application code changes. |
| KahaDB or JDBC persistence | Durable quorum queues, replicated with Raft | Stored messages do not move in the same format; plan to drain, replay or bridge backlogs during cutover. |
| Shared-storage high availability | Raft-replicated quorum queues | Failure model differs from shared storage; test leader election, node loss and recovery before sign-off. |
| Message groups, virtual and composite destinations, wildcards | Exchange and binding design, with no confirmed one-to-one match | Treat message group behavior as a redesign item; confirm ordering and routing in the RabbitMQ documentation. |
| Networks of brokers | Redesigned topology; inter-broker options to confirm | Redraw the topology for each site and confirm the inter-broker options RabbitMQ offers for it. |
| XA and JMS transactions | Confirm in the RabbitMQ documentation how your transaction pattern maps. | Test every transactional path before design sign-off, including failure and redelivery cases. |
| Spring embedded brokers | External RabbitMQ cluster | Test and local setups lose the embedded broker; plan a separate RabbitMQ instance for CI. |
| Apache.NMS and CMS clients | RabbitMQ client library in the application's language | Port the client code to a RabbitMQ client library and retest acknowledgements and message properties. |
Which documented paths and tools support the move
Each item below is a documented starting point for the move, and most need a check in your own environment before you rely on them. Together they cover protocol compatibility, the target release line, deployment tooling, and the state you must inventory before cutover. Whether a bulk importer exists is an open question until a vendor confirms it.
Protocols and the clients you keep
RabbitMQ was originally built for AMQP 0-9-1, and AMQP 1.0 became a core protocol in RabbitMQ 4.0. MQTT (3.1, 3.1.1 and 5.0) and STOMP reach RabbitMQ through plugins, and AMQP 1.0, MQTT and STOMP also run over WebSocket. Check each client against this list before you assume it can keep its existing settings. JMS is an API that RabbitMQ's protocol list does not include, so confirm which client library each application uses before you plan any code changes.
RabbitMQ protocols pageChoosing the target release line
RabbitMQ 4.3.6 was released on September 16, 2026, with community support until January 31, 2027. The 4.2 line ended community support on July 31, 2026, so a cutover on it depends on a commercial support license. Commercial support for 4.2 runs to June 30, 2030, and the official lifecycle details sit on Broadcom's support portal. Check these dates against the release information page before you pick the target, because a cutover that runs past a community end date changes your support position.
Release information pageRepeatable deployment on Kubernetes
The RabbitMQ Cluster Kubernetes Operator is published under MPL-2.0 in the rabbitmq/cluster-operator repository. It declares RabbitMQ clusters as Kubernetes resources, so a test and a production cluster can be built from the same definitions. Use it only if your platform team already runs Kubernetes and can own the operator as part of the stack. Pin the operator version, the RabbitMQ image and your upgrade path together, and test them as one unit before each cutover.
Cluster Operator repositoryActiveMQ protocols as a guide
ActiveMQ Classic already serves AMQP, MQTT, HTTP/WebSocket and STOMP alongside JMS, so clients on those protocols are the likeliest to point at RabbitMQ with the least change. Group clients by protocol and version, and confirm which AMQP version each one uses. Then confirm each group with a test against a RabbitMQ node, because matching protocol names do not prove matching behavior for headers, durable subscriptions or message types.
ActiveMQ Classic pageInventory KahaDB and JDBC stores
ActiveMQ Classic persists messages in KahaDB or JDBC stores, and the store you run decides where in-flight messages sit during cutover. Before you plan a drain or a dual-run period, record the store type and location for each broker. Then inventory every queue and durable subscription with pending messages, and note which destinations are virtual, composite or networked, since those routes carry messages between brokers that the cutover must also account for.
Confirm a bulk importer first
Do not plan around a bulk importer until RabbitMQ or Broadcom confirms that one exists. Ask RabbitMQ or Broadcom in writing whether such a tool exists, which message types, persistence stores and protocols it covers, and whether it supports your target release. Until that answer arrives, plan the move as a client-by-client repointing with a message drain, and treat the importer as unknown in your design.
Moving in-flight messages, configuration and client integrations
Plan the data work first, because in-flight messages and durable subscriptions do not carry over from ActiveMQ to RabbitMQ. Messages waiting in ActiveMQ queues, and the durable subscriptions that hold undelivered messages for named consumers, sit in the broker's KahaDB or JDBC persistence store and have no direct equivalent to copy across. For each destination, choose one of three approaches: drain the ActiveMQ queue to empty before cutover, replay the affected business events from the system of record, or run dual consumers on both brokers for a window and reconcile duplicates. Draining requires a producer freeze and a known backlog, so measure queue depths and subscriber lag in your environment first. Record the choice per destination in the migration plan, because one approach rarely fits every queue in a mixed estate.
Rebuild configuration for RabbitMQ and keep it under version control. ActiveMQ broker settings in activemq.xml, including the persistence adapter, transport connectors and destination policies, have no direct copy on the RabbitMQ side. The Spring-embedded settings that create connection factories, listeners and destinations in application contexts must be rewritten as well. Store the RabbitMQ definitions, queue types and application configuration in Git, review changes like code and promote them through each environment. On the client side, inventory every JMS, Spring, .NET and C++ integration. Applications built on Apache.NMS.ActiveMQ or the CMS client for C++ need an AMQP client for RabbitMQ, and JMS code needs a JMS provider that works with RabbitMQ, which you should confirm before estimating effort. Rebuild monitoring and alerting against RabbitMQ metrics, and map ActiveMQ authentication and authorization to RabbitMQ users, virtual hosts and permissions.
If the target runs on Kubernetes, the RabbitMQ Cluster Operator on GitHub, published under MPL-2.0, helps deploy and operate RabbitMQ clusters. Decide early which settings the operator will manage and which stay in your own manifests, and confirm in your environment how it handles manual changes to a running cluster. Check that your platform team can own the Kubernetes side after handover. For the cutover itself, set the order of destinations in writing, and keep ActiveMQ available as a fallback until the drain or replay checks for each destination have passed and the client integrations have been tested end to end.
Routes move one at a time, and some wait for redesign
This is a phase model with no fixed timeline, and each phase can repeat per route. Migration starts with an inventory of ActiveMQ destinations, producers and consumers, then one pilot route runs on RabbitMQ. In the parallel run, routes move one at a time while ActiveMQ keeps serving the rest. Each route reaches a decision point: if it relies on features that may lack a direct RabbitMQ equivalent, such as virtual destinations, composite destinations or message groups, it goes to redesign before it moves. Cutover happens only after every route is verified, and ActiveMQ is decommissioned last.
Phase model showing routes moving from inventory through pilot, parallel run and cutover.
Five phases from inventory to decommission
The sequence moves queue traffic from ActiveMQ to RabbitMQ one route at a time, so each route is proven before the next one moves. It produces a tested mapping of destinations and semantics, a pilot on a low-risk route, documented cutovers and a retired broker with its records kept for the period your business requires.
Inventory destinations, protocols, persistence, transactions and consumers
List every queue, topic, virtual destination, composite destination and wildcard subscription in ActiveMQ Classic, along with the protocols clients use (AMQP, MQTT, STOMP, HTTP/WebSocket or JMS). Record whether each destination uses KahaDB or JDBC persistence, whether consumers rely on transactions or XA, which message groups and selectors they use, and which applications produce and consume. Owners sign off the list. The step is done when every destination has a named owner, a target RabbitMQ construct and a note on what does not map cleanly, such as JMS-specific behavior that needs a code change.
Pilot one non-critical route on quorum queues
Choose one low-impact route and build it on a RabbitMQ line that is inside its community support window when you start, such as 4.3, which RabbitMQ release information lists as supported until January 31, 2027. Declare the target as a quorum queue, because quorum queues are durable, replicated queues built on the Raft consensus algorithm. Test node restarts, redelivery, dead-letter handling and production-like volumes. The pilot closes when the route owner and platform team confirm the results match the inventory and the test evidence is filed.
Run producers and consumers route by route
Move one route at a time while both brokers run. Each route gets a named owner, a written rollback path that returns producers to ActiveMQ, and a dual-publish or bridging approach agreed with the application team. Where a route depends on JMS behavior with no direct RabbitMQ equivalent, the change goes through code review and a test run before the route is scheduled. The step closes for each route when consumers on RabbitMQ process traffic without errors, the rollback has been rehearsed and the owner signs off.
Cut over inside an agreed freeze window
Agree the freeze window with the business and every route owner before the date, and publish it to producers and consumers. During the window, stop new publishing to ActiveMQ, let consumers finish what is in flight, and switch the remaining producers to RabbitMQ. Confirm that the ActiveMQ queues for the route have drained to zero before consumers are closed, and check that no messages were left behind on the old broker. The cutover is complete when the drain check is recorded, the RabbitMQ queues show expected traffic and the freeze is lifted.
Decommission ActiveMQ after the retention period
Keep ActiveMQ available in a state your compliance team approves for the retention and audit period your business and regulators require, and confirm that period before you start. Retain message stores, broker configuration and access logs as the retention policy requires, and document where they are kept and who can read them. Then shut down the brokers, remove client configuration, revoke service accounts and close firewall rules. The step is done when the retention record is signed off, the decommission checklist is complete and no client still connects to the old broker.
Cost and effort drivers for an ActiveMQ to RabbitMQ migration
This table lists the cost and effort drivers for moving from Apache ActiveMQ Classic to RabbitMQ, with the direction each one pushes cost and effort. Read the middle column for what changes and the right column for who pays and whether the cost is one-time or recurring. The main takeaway: the largest one-time costs often come from application code that relies on JMS behavior and from testing the cutover, while recurring costs depend on the RabbitMQ support model you choose.
| Driver | What it changes and direction of effect | Who pays and one-time or recurring |
|---|---|---|
| Destinations and routing rules | Virtual, composite and wildcard destinations need an explicit exchange and binding design. More of them raises design and test effort. | One-time: design and migration services. Ask how many routing rules are in scope. |
| JMS APIs, selectors and transactions in code | JMS selectors, XA and JMS transaction code often needs redesign, because RabbitMQ is not a JMS broker. Heavier use raises effort. | One-time: code changes by your developers or the implementation partner. Ask which APIs are in scope. |
| Client languages, libraries and protocols | Each language and client library needs a tested RabbitMQ client. Protocols beyond AMQP, such as MQTT or STOMP, add plugin work. | One-time: client changes and testing. Recurring: client upgrades and plugin support. Ask which clients and protocols are included. |
| Message volume and backlog at cutover | Large backlogs and high throughput lengthen the drain, dual-run and rollback window. Higher volume raises test and cutover effort. | One-time: load testing and cutover runbooks. Ask how backlog draining and dual running are planned and priced. |
| Persistence and high availability design | ActiveMQ storage choices do not map one to one. Quorum queues (Raft-based replication) change how durability and failover are designed and tested. | One-time: design and failover testing. Recurring: node capacity and storage for replicated queues. Ask for a sizing review. |
| Teams owning producers and consumers | Each team that owns producers or consumers must change code, configuration and tests together. More owning teams lengthen coordination and cutover scheduling. | Mostly internal staff time, plus partner time for coordination. Ask who signs off each consumer cutover. |
| Target deployment and automation | VMs, Docker or Kubernetes change how clusters are built, upgraded and backed up. Automation lowers repeat effort but adds build work. | One-time: automation and deployment code. Recurring: upgrades and backups. Ask what the quote includes for each. |
| RabbitMQ line and support model | Community support windows end on fixed dates, and longer support needs a commercial license through Broadcom. Choosing a line sets the upgrade cadence. | Recurring: commercial support fees if chosen. Ask for the lifecycle dates of the line you pick. |
| Audit and access evidence for regulated systems | Authentication, admin access, audit logging and permissions per virtual host must be evidenced for assessors. Gaps found late add rework and retesting. | One-time: control design and evidence setup. Recurring: access reviews. Ask what evidence is delivered, since auditors issue the conclusion. |
What usually goes wrong in ActiveMQ to RabbitMQ cutovers
Most failed cutovers trace back to a few assumptions that look equivalent on paper. The six risks below cover routing, delivery during the parallel run, acknowledgment behavior, failure testing, release lifecycle and product identity. Each one has a prevention step you can schedule before traffic moves.
Routing rules that do not port
ActiveMQ Classic routes through destinations, wildcards, composite destinations and virtual destinations, and teams often assume each of these has a direct equivalent in RabbitMQ. In RabbitMQ, routing is decided by exchanges and bindings, so each ActiveMQ routing rule has to be re-expressed as an exchange type and binding key. Prevention: export every destination and routing rule, write the target exchange and binding for each one, and send sample messages through both brokers to confirm which queues receive them.
Duplicate and out-of-order delivery
During a parallel run, producers or consumers on both brokers can see the same business event, and redelivery after a consumer fails can repeat messages. Ordering that held on one ActiveMQ destination may not hold once several RabbitMQ consumers share a queue. Prevention: keep ordering-sensitive flows on a single consumer during the overlap, give every consumer an idempotency key checked against a store, and name the authoritative broker for each flow.
Acknowledgment and transaction behavior
ActiveMQ Classic offers transient, persistent, transactional and XA messaging through JMS sessions, and consumers often depend on those semantics without writing them down. RabbitMQ uses its own acknowledgment mode, publisher confirm and prefetch settings, so a consumer that relies on a session rollback to requeue work can behave differently after the move. Prevention: list each consumer's acknowledgment mode and transaction boundary, then test crash, redelivery and rollback cases against RabbitMQ before any consumer moves.
Persistence and quorum loss untested
ActiveMQ Classic high availability is commonly built on shared storage, with KahaDB or JDBC persistence, while RabbitMQ replicates quorum queues with the Raft consensus algorithm. A cluster that has never lost a node, or lost a majority of replicas, under production load has not been tested for the failure you will meet. Prevention: size disk and memory for replicated data, then run majority-loss drills in staging and record how long each queue takes to recover. Classic queue mirroring was removed starting with RabbitMQ 4.0, so do not port mirroring policies.
Quorum queues docsTarget line leaves community support
RabbitMQ 4.3.6 was released on September 16, 2026 with community support until January 31, 2027, and 4.2 community support ended on July 31, 2026. A cutover that lands after a line's community window closes runs without community support unless you hold a commercial support license. Prevention: pick the target line and the cutover date together, and confirm commercial lifecycle dates on the Broadcom support portal if you need support past the community window.
Release informationTreating three brokers as one
Apache ActiveMQ Classic is a JMS broker, Apache Artemis is a separate project after the ActiveMQ PMC announced the split on November 19, 2025, and RabbitMQ is an AMQP broker that made AMQP 1.0 a core protocol in 4.0. Configuration files, client libraries, persistence settings and operational runbooks are unlikely to carry over unchanged. Prevention: confirm which product and version each application connects to, then write the migration plan for that exact target.
What buyers ask before they move from ActiveMQ to RabbitMQ
How much effort does moving from ActiveMQ to RabbitMQ take?
Effort depends on how much of your ActiveMQ setup is specific to JMS and to ActiveMQ Classic. The main drivers are the number of producers, consumers and routes; how much application code calls JMS or Jakarta Messaging APIs that must move to AMQP or another RabbitMQ client; use of ActiveMQ features such as message groups, virtual destinations, wildcards and composite destinations, which need an equivalent routing design in RabbitMQ; and the persistence and high availability design, since KahaDB or JDBC storage and shared-storage failover do not map one to one onto quorum queues. Cutover handling of in-flight messages adds work too. A route inventory is the fastest way to size the effort.
How long does an ActiveMQ to RabbitMQ migration take?
Length follows the same drivers as effort: route count, how much JMS-specific code and ActiveMQ-specific routing must be redesigned, the persistence and high availability design, and how cutover and rollback are staged. A small number of simple routes moves faster than an estate-wide migration with many shared applications, because each route needs its own testing and sign-off. No duration should be accepted before the scope is written. Ask for a timeline recorded in the written scope, with milestones for the route inventory, build and test of each route, a rehearsed cutover and handover. A timeline without a written scope behind it is only an estimate.
What does our team need before moving from ActiveMQ to RabbitMQ?
Your team needs three things before work starts, and each should have a named person. First, JMS knowledge: someone who understands how existing producers and consumers use JMS sessions, acknowledgment modes, selectors and transactions, and who can explain that behavior to a RabbitMQ design. Second, a named owner for each route, accountable for requirements, test sign-off and the cutover decision for that flow. Third, a test environment that carries production-like message volumes and failure cases, including broker restarts and consumer outages. Application owners also need time for regression testing against the new broker.
Can our own team move from ActiveMQ to RabbitMQ without outside help?
Some teams can do the move alone, particularly when the route count is small, the JMS code is contained, and someone on staff already runs a message broker in production. Outside help usually adds value in four places: redesigning ActiveMQ-specific routing as RabbitMQ exchanges and queues, designing quorum queue replication and failover, building a test harness and rehearsing cutover, and writing the runbooks and evidence that a security or compliance review will ask for. DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing. Your team keeps responsibility for business decisions and sign-off on each route.
Is there a documented tool to import ActiveMQ data into RabbitMQ?
No documented import tool is confirmed in the sources for this page, so do not assume one exists. Ask RabbitMQ or Broadcom in writing whether a supported tool moves ActiveMQ Classic message stores (KahaDB or JDBC) into RabbitMQ queues, and which versions it covers. If none is confirmed, the usual approach is to drain or replay messages through the applications, or to run both brokers in parallel while consumers finish the old queues. Either approach should be tested with the same volumes and failure cases as the cutover. Record the answer, the version it applies to and the date you checked it.
Is the license a reason to move from ActiveMQ to RabbitMQ?
The license alone does not justify the move, because both brokers are open source. ActiveMQ Classic is licensed under Apache-2.0, and the RabbitMQ server and its tier 1 core plugins are licensed under MPL-2.0. The decision turns on support and lifecycle instead. RabbitMQ community support has fixed end dates, and 4.2 community support ended on July 31, 2026. Longer lifecycles are available only with a commercial support license from Broadcom. For ActiveMQ, check whether your release line, 5.19.x or 6.2.x, fits your support plan, and note that Apache Artemis is now its own project. Confirm current dates on the RabbitMQ release information page before you decide.
What does a quote need from a written scope before it can be priced?
A quote follows from a written scope, and DeployOpen does not publish a price list. The scope should list the route inventory (queues, topics, producers, consumers and client languages), the ActiveMQ features and protocols in use, persistence and high availability requirements, the environments and cutover window, the testing and evidence expected, documentation and handover, and support after go-live. Each item changes the work, so the quote should state which items are included and which remain your team's responsibility. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How DeployOpen scopes and delivers an ActiveMQ to RabbitMQ migration
DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For an ActiveMQ to RabbitMQ move, that means mapping each JMS destination, client and persistence setting to its RabbitMQ equivalent before any cutover date is set. The work runs inside your cloud accounts, data centers or air-gapped networks, so your team keeps control of the broker and its data.
How we scope
- The written scope lists every ActiveMQ Classic broker, queue, topic, and consuming or producing application in the migration.
- It records which JMS features each flow uses, such as message groups, virtual destinations, wildcards and XA transactions.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we build
- Map each JMS destination to a RabbitMQ exchange, queue or stream, and flag flows that need a different design.
- Build quorum queues for replicated data, since classic queue mirroring was removed starting with RabbitMQ 4.0.
- Plan client code changes, since JMS clients need an AMQP library or a bridge chosen per flow.
How we hand over
- Test each migrated flow in a staging environment, including failure, redelivery and dead-letter paths, with results recorded.
- Document the topology, queue definitions, users and permissions, backup steps and the cutover runbook for your team.
- Run the cutover with a rollback plan, then transfer operation to your team with a walkthrough of the runbook.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the migration closes.
- Upgrades are planned against RabbitMQ community support end dates, such as January 31, 2027 for 4.3.6.
- Hardening and compliance evidence cover access control, TLS and logging settings the broker uses, prepared for your assessors.

