-
Bug
-
Resolution: Done
-
Major
-
None
This issue is related to https://github.com/wildfly/wildfly/pull/11355.
Based on the Analysis document [1] and because of backward compatibility, new JDBC HA configuration parameters can be configured in two ways. Using the system properties and using the management model. It was decided that values defined in management model has higher priority than values defined by system properties. However this rule is not applied.
I found out that although integration code passes correct values to Artemis configuration, they are replaced by a method [2]. I think that integration code should unset the system properties so Artemis cannot read them.
[1] https://github.com/wildfly/wildfly-proposals/pull/87/
[2] https://github.com/rh-messaging/jboss-activemq-artemis/blob/1.5.5.jbossorg-012/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java#L507