Move a bank's payment messaging from ActiveMQ queues to Kafka topics without changing its guarantees
An MQ to Kafka migration changes the model, not just the broker. ActiveMQ Classic fully supports JMS 1.1 with persistent, transactional and XA messaging, and partially supports JMS 2.0 (Apache ActiveMQ, checked 23 Nov 2026). Kafka stores a replicated log that consumers read at their own pace. Queue semantics, where a broker deletes a message once one consumer acknowledges it, become consumer groups and committed offsets. Message selectors, per-message priority, scheduled delivery and XA have no direct equivalent and each needs a decision. A bank moving payment instructions has one rule above the others: messages for one account must stay in order, so the account identifier becomes the message key and the partition count is fixed with care. OSStend designs the topic model, builds a bridge that copies queue traffic into Kafka, moves consumers one service at a time and runs Kafka 24/7. The ActiveMQ side stays live until the last consumer has moved.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓ActiveMQ
- ✓Kafka
- ✓Banking
- Source
- ActiveMQ Classic queues, JMS clients
- Target
- Kafka 4.x topics, dedicated cluster in OSStend's cloud
- Method
- Bridge, then service-by-service cutover
- Ordering
- Message key per account
- Runs where
- OSStend's cloud
Typical situation
Trigger. Payment, notification and reconciliation consumers all want the same events, and point-to-point queues force a copy per consumer.
Versions. ActiveMQ Classic with JMS clients as the source; Apache Kafka 4.x in KRaft mode as the target.
- Per-account ordering
- No message loss
- Audit of every message
A typical situation, not a named customer.
Moving from ActiveMQ to Kafka means mapping queues to topics and keys, replacing selectors, priorities and XA with designed patterns, bridging messages while both run, and moving consumers one service at a time. OSStend owns the design, the bridge and the cutover, and runs Kafka 24/7.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What OSStend runs and what you keep
OSStend engineers design, move and run the cluster; you keep the application, the data and the decisions about it. The split below is what is set in the design you sign off, and it is written into the contract.
| Area | OSStend | You |
|---|---|---|
| Topic model | Maps queues to topics, keys and partition counts | Names services and message owners |
| Bridge | Builds and runs the ActiveMQ to Kafka bridge | Opens network paths |
| Gap decisions | Proposes patterns for selectors, priority, delay and DLQ | Decides each one |
| Consumer rewrite | Reviews client code and offset handling | Changes application code |
| Cutover | Sequences services and monitors lag | Restarts services |
| Run | Patching, lag alerts, 24/7 response | Owns applications |
Where it can run
For this use case the Kafka side runs on a dedicated cluster in OSStend's cloud. Your cloud account and data center suit estates with network or residency rules.
| Option | When it fits | Licence and source |
|---|---|---|
| Our cloud | A bank that wants Kafka run for it, with a fixed design and no cloud account work | Apache Kafka is Apache-2.0 (LICENSE; OSStend licensing review, 19 Nov 2026). ActiveMQ is Apache-2.0 (Apache ActiveMQ, 23 Nov 2026) |
| Your cloud account | Data must stay in your account and region | Same licences |
| Your data center | Core payment systems on site | Same licences |
Licence placement comes from the OSStend licensing review, 19 Nov 2026. This table is not legal advice.
How the move works
The order is design, bridge, consumers, producers. The mapping table below shows where the models differ. Times are typical and set in the design.
Inventory and model, 2 to 3 weeks
List queues, topics, selectors, priorities, delays and transactions, and design topics and keys.
Build the Kafka side, 1 week
Create brokers, topics, schemas and credentials, with replication factor 3 and min.insync.replicas of 2.
Bridge, 2 to 4 weeks
Copy each queue's traffic into its topic while ActiveMQ stays the system of record, and compare counts.
Move consumers, 4 to 10 weeks
One service at a time: read from Kafka, check idempotence and ordering, then retire its queue.
Move producers, 2 to 4 weeks
Producers publish to Kafka directly. ActiveMQ stays until the last queue is empty.
| ActiveMQ concept | On Kafka | Decision to make |
|---|---|---|
| Queue with competing consumers | Topic with a consumer group | Partition count sets the maximum parallel consumers |
| Acknowledge and delete | Commit an offset; messages stay until retention | Consumers must tolerate redelivery |
| Message selector | No broker-side filter | Separate topics, or filter in the consumer |
| Message priority | No per-message priority | Separate topics per priority |
| Scheduled or delayed delivery | Not native | A delay topic or a scheduler service |
| XA and distributed transactions | Not supported | Idempotent consumers and an outbox pattern |
| Dead letter queue | Not built in | A dead letter topic written by the consumer |
ActiveMQ capabilities: Apache ActiveMQ Classic, checked 23 Nov 2026. Kafka mapping is the usual pattern; each is confirmed per service in the design.
Cost basis
The cost to compare is operating two systems during the bridge, then one. No public list price applies to a self-run ActiveMQ, so the table lists the lines to price, and OSStend's fee is quoted per design.
| Line | During the bridge | After retiring ActiveMQ |
|---|---|---|
| ActiveMQ brokers and storage | Running | Retired |
| Kafka brokers and storage | Running | Running |
| Bridge process | Running | Retired |
| Application changes | Consumer and producer code | Done |
| OSStend fee | Quoted per design | Quoted per design |
Lines are listed, not priced, because they depend on your broker size and retention. Price them from your own invoices or hardware costs.
OSStend's own price is quoted per design after a 45-minute workload review. It depends on the node design, the service level tier and where the cluster runs; see pricing.
What we watch on call
Moving from queues to a log creates failure patterns that queue brokers hid. These are what we watch.
- Order breaks.
- A message key that does not match the business entity, so one account's events land on different partitions.
- Duplicates.
- Redelivery after a consumer restart; consumers must be idempotent, and we test it.
- Bridge drift.
- Counts differing between a queue and its topic; a reconciliation job runs continuously.
- Consumer group rebalances.
- Frequent rebalances stall processing; session and poll timeouts are tuned.
- Poison messages.
- One bad message blocking a partition; a dead letter topic and alert are set.
- Retention too short.
- A slow consumer losing messages because retention is shorter than its outage.
When OSStend is not the right fit
The move fits when several consumers need the same events and a replayable log helps. It does not when point-to-point queues with priority and XA are what the system needs.
Contact us if
- ✓Several services need the same message stream.
- ✓You want replay and a longer retention.
- ✓Consumers can be made idempotent.
Not a fit if
- ✕The workload needs XA transactions across systems.
- ✕Message priority and selectors are central to the design.
- ✕One queue with one consumer works well and rarely changes.
Questions buyers ask
Short answers to the questions that come up most on this kind of move. Each can be checked against the sources linked above.
Can ActiveMQ and Kafka run together?
Yes. A bridge copies queue traffic into Kafka while ActiveMQ stays the system of record, and each service moves on its own date.
How do we keep order?
By using the entity, such as the account, as the message key. Messages with one key go to one partition and are read in order.
What replaces XA?
Idempotent consumers and an outbox pattern, designed per flow. Kafka does not offer XA across other systems.
Where are the Kafka design basics?
On managed Kafka; see also the change data capture guide for the outbox pattern.
Related pages
- PricingDatabase as a service pricing: dedicated, tailoredDatabase as a service pricing from OSStend: dedicated, tailored clusters priced by engine, size, SLA tier and location. Enterprise only, with no free tier.
- KafkaManaged Kafka in your cloud or data centerManaged Kafka with the broker count, partition plan, KRaft, Connect and an Apicurio or Karapace schema registry designed for your estate, run 24/7 in your cloud or data center.
- GuideChange data capture (CDC): methods and toolsChange data capture explained: log-based vs query-based CDC, the main CDC tools, Postgres CDC and replication slots, and when to pay someone to run it.
Map your queues to topics with an engineer
Bring the queue list and your ordering rules. An engineer will sketch the topic model in 45 minutes.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





