git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ActiveMQ Failover Transport for Artemis


Hello Art,

Thank you for the reply!

I'm also interested in how to specify two nodes for the end client.

Assuming we have two servers: IP1, IP2.
For ActiveMQ we may use it in the following way:
failover:(tcp://IP1:61616,tcp://IP2:61616)

Is there a way to specify two hosts when we connecting to the Artemis?


artemis producer --url
failover:\(tcp://localhost:61616,tcp://localhost:61616\)
---
java.lang.NullPointerException: Schema failover not found
---

Maybe something like this will work:
(tcp://myhost:61616,tcp://myhost2:61616)?reconnectAttempts=5

https://activemq.apache.org/artemis/docs/latest/clusters.html



Thank you!

Slava.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html