If an active/active deployment is a the only requirement perhaps the dual 
mirror  feature of Artemis is a possible deployment scenario?!
You can find it in the docs at chapter 7, look for "Mirroring".

HTH

Mihael


Mihael Schmidt
Software Engineering

Bauformat Küchen GmbH & Co. KG
Kattwinkel 1 | 32584 Löhne | Deutschland

Fon: +495732 102-379
Fax: +495732 102-300
Mail: mschm...@bauformat.de<mailto:mschm...@bauformat.de>
Internet: www.bauformat.de<http://www.bauformat.de>

[cid:Logo_BAUFORMAT_sw_130px_61b65919-4a79-4edc-a81a-8b84d76dc540.png]

Umsatzsteuer-Identifikationsnummer: DE 124323068 - Steuer-Nr.: 310/5705/0461 / 
Finanzamt Bünde - Handelsregister Bad Oeynhausen HRA 1801
Komplementärin: Bauformat Küchen Verwaltungs GmbH - Handelsregister Bad 
Oeynhausen HRB 1465
Geschäftsführer: Michael Assner, Matthias Berens, Sabine Brockschnieder

[cid:Email_Banner_TOP100_2025_low_c7e2850c-d1e8-4332-bf08-dc1c8c4377be.jpg]<https://www.bauformat.de>

Wir erfüllen unsere Informationspflichten zum Datenschutz gem. Artt. 13-14 
DS-GVO durch Veröffentlichung auf unserer Internetseite unter:
www.bauformat.de/datenschutz<http://www.bauformat.de/datenschutz> oder durch 
Zusendung auf Ihre formlose Anfrage.

________________________________
Von: Domenico Francesco Bruscino <bruscin...@gmail.com>
Gesendet: Dienstag, 18. März 2025 10:52
An: users@activemq.apache.org <users@activemq.apache.org>
Betreff: Re: What HA Replication Policy Is For Active-Active Topology

Hi William,

the HA policies allow the system to continue functioning after failure of
one or more of the servers. They require at least 2 brokers to work. The
first broker is active and the second broker waits for the first broker
failure to replace it reloading durable/persisted messages. In this way,
the client connections can migrate from one server to another in event of
server failure so client applications can continue to operate.

Can you clarify your expectations from an active/active deployment?

Regards,
Domenico

On Mon, 17 Mar 2025 at 16:22, William Crowell <wcrow...@perforce.com.invalid>
wrote:

> Good morning,
>
> It appears all HA policies are for active/passive setup.  Are there any
> for active/active?  Does this exist?
>
> I was reading through:
> https://activemq.apache.org/components/artemis/documentation/latest/ha.html#replication
>
> For example, you have 2 Artemis brokers and you want them both to be
> active at the same time, and the data directories are separate.
>
> Would you just specify the following in broker.xml on both servers?
>
> <ha-policy>
>    <replication>
>       <primary/>
>    </replication>
> </ha-policy>
>
> I looked through the examples here and could not find it (unless I missed
> it):
>
>
> https://github.com/apache/activemq-artemis-examples/tree/main/examples/features/ha
>
> Regards,
>
> William Crowell
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>

Reply via email to