layout: default_md title: How do I configure distributed queues or topics title-class: page-title-activemq5 type: activemq5

 FAQ > Configuration > How do I configure distributed queues or topics

How do I configure distributed queues or topics

You don't need to explicitly configure distributed queues or topics as any queue or topic is automatically distributed across other brokers when the brokers are configured in either a store and forward network or a master/slave cluster.

So you just need to connect brokers together to form either

  • a Store and Forward Network of Brokers, which means the messages travel from broker to broker until they reach a consumer; with each message being owned by a single broker at any point in time
  • a Master/Slave Cluster, which means all messages are replicated across each broker in the master/slave cluster

Also see