Integration / ActiveMQ Interview Questions Intermediate
What is the difference between ActiveMQ Classic and ActiveMQ Artemis?
ActiveMQ Classic (5.x) is the original, mature JMS broker with KahaDB persistence. Artemis is a newer broker built on the HornetQ codebase donated to Apache, using an asynchronous journal-based storage model and a native Core protocol, while still supporting OpenWire, AMQP, MQTT, and STOMP for compatibility.
| Aspect | Classic (5.x) | Artemis |
| Origin | Original ActiveMQ | HornetQ-based, donated to Apache |
| Persistence | KahaDB / JDBC | Asynchronous journal |
| Performance | Good | Generally higher throughput |
| Status | Mature, maintained | Positioned as long-term successor |
Artemis generally offers better throughput and lower latency due to its non-blocking I/O journal, though Classic remains widely deployed and still fully supported.
Migration between the two isn't always a drop-in replacement - Artemis's default addressing model and some configuration file formats differ from Classic's, so teams typically plan a phased migration, often running both side by side temporarily via a bridge, rather than swapping the broker binary in place. New deployments are increasingly steered toward Artemis, but Classic's long track record still makes it a common, fully supported choice for existing JMS-heavy systems.
More Related questions...