AW: Artemis Client Connection String for Dual Mirror

2025-02-21 Thread Schmidt, Mihael
Hi all, after some further research I found the problem. I didn't specify the parameter "failoverAttempts" on the connection url. After adding it everything worked fine. Have a great day! Mihael PS: ... and the error is also described in the docs. 😉 Mihael Schmidt Software Engineering Bau

allow-failback document wrong

2025-02-21 Thread Sergio Scaramuzzi
Hello, I think I've discovered a problem with the latest documentation for HA. https://activemq.apache.org/components/artemis/documentation/latest/ha.html#replication It claims that allow-failback is true by default but in my experiments, I've found my primary brokers do not resume control unle

Re: Artemis Client Connection String for Dual Mirror

2025-02-21 Thread Justin Bertram
I'm glad you got your issue sorted. Feel free to send your SequentialConnectionLoadBalancingPolicy implementation as a PR to be included in future releases. That sounds like a worthwhile addition. Justin On Fri, Feb 21, 2025 at 9:16 AM Schmidt, Mihael wrote: > Hi all, > > after some further r

Artemis Client Connection String for Dual Mirror

2025-02-21 Thread Schmidt, Mihael
Hi, I got an Artemis dual mirror setup and basically it works fine. Now I want to test the failover on the client side. I use the following artemis-jms-client 2.39.0 factory: org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory connection string: (tcp://host:41091,tcp://host:41101)?ha

Re: ActiveMq 2.14.0 Native Memory Leak

2025-02-21 Thread Clebert Suconic
There was a lot of work in testing after 2.20. I highly recommend resina a recent version às Anton said. Clebert Suconic On Thu, Feb 20, 2025 at 12:17 PM Justin Bertram wrote: > I agree with Anton here 100%. > > Netty uses direct memory for performance reasons. If you disable it there > will

Re: allow-failback document wrong

2025-02-21 Thread Justin Bertram
A quick look indicates the doc needs to be updated. However, the Stack Overflow question you cited has a snippet from broker.xml where allow-failback is set to true. Does that snippet not reflect what you were actually testing with? Justin On Fri, Feb 21, 2025 at 3:43 PM Sergio Scaramuzzi wrote

RE: allow-failback document wrong

2025-02-21 Thread Sergio Scaramuzzi
Ah this is mostly unrelated to that other issue, I just figured I should mention it as it did give me momentary trouble at some point in my own implementation. That other issue still persists and at this time I still haven't found any information related to it. -Original Message- From: