I'd say you're missing the ha flag. To enable failover you need to use
"ha=true" in your URL. Otherwise the client won't know that it's connection
to an HA (i.e. highly available) master/slave pair.
Justin
On Thu, Aug 1, 2019 at 6:35 AM mk666aim wrote:
> The below URL does not seem to work for
Also, in a scenario where master server is started again, and backup server
should fail back to the master from that moment onwards
Should the client also reconnect to the master? It does not seem to be
happening, as my client is still locked to the backup server.
When I shut down backup server
The below URL does not seem to work for me.
Client basically never switches to the backup node. Isn't that what
reconnectAttempts=-1 will cause?
I used following URL before and the switching happened:
*(tcp://master:61616,tcp://slave:61616)?reconnectAttempts=5*
What am I missing?
And what is th
I read the linked issue too, and as I understand that was to do with NFS.
However, I am getting very similar issue when using shared JDBC store
(MySQL).
Error is slightly different though:
I have traced it to this call here in the FailbackChecker:
Seems the default connection is empty or wha
I read the linked issue too, anf as I understand that was to do with NFS.
However, I am getting very similar issue when using shared JDBC store
(MySQL).
Error is slightly different though:
Any help appreciated.
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Jiri Daněk 于2019年8月1日周四 上午4:48写道:
> Where does the Artemis plugin/interceptor live at this moment? I looked
for
> it but did not find it. Thanks.
On Thu, Aug 1, 2019 at 12:22 PM yw yw wrote:
> Hi! Did you have checked against the latest code? It's
> ActiveMQServerPlugin,
> something like that:
Hi! Did you have checked against the latest code? It's ActiveMQServerPlugin,
something like that:
public interface ActiveMQServerPlugin extends
ActiveMQServerBasePlugin,
ActiveMQServerConnectionPlugin,
ActiveMQServerSessionPlugin,
ActiveMQServerConsumerPlugin,
ActiveMQServerAddressPlugin,
A