Integration / ActiveMQ Interview Questions Basics
What are Virtual Destinations in ActiveMQ?
Virtual Destinations let ActiveMQ blend queue and topic semantics. A Virtual Topic lets multiple durable, queue-backed consumer groups each get their own copy of every message, combining topic fan-out with queue-style load balancing per group.
A Composite Destination lets one send target fan out to several underlying queues or topics in a single call. They're commonly used so several independent consumer groups can each reliably process every event without needing true durable topic subscriptions.
Both features are configured declaratively in destination policies inside activemq.xml rather than requiring any client-side code changes, which means existing producers and consumers do not need to know virtual routing is happening underneath them.
More Related questions...