Hello,
Is it possible to create managed pooled connection factory in standalone.xml? I evaluate Wildfly 14.0.1.Final. I'm using Artemis 2.6.3. I've verified artemis is configured properly via artemis producer tool. I'd like to have pooled connection factory in wildfly corresponding to following URI:
(tcp://master:61616, tcp://slave:61616)?ha=true
I thought I can do it with following code:
<remote-connector name="remote-artemis-master" socket-binding="remote-artemis-master" />
<remote-connector name="remote-artemis-slave" socket-binding="remote-artemis-slave" />
<pooled-connection-factory
client-failure-check-period="1000"
connection-ttl="2000"
call-timeout="2000"
failover-on-initial-connection="true"
ha="true"
name="activemq-ra"
connectors="remote-artemis-master remote-artemis-slave"
entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"
transaction="xa"
user="user"
password="password" />
It kinda work. After 30 seconds after artemis master is stopped Wildfly connects to slave. Questions:
1. Where is it 30 seconds come from?
2. Is it possible to mirror above URI in wildfly xml?