I have used property inside beans.xml and configured the wildfly with spec-descriptor-property-replacement = true, but the property inside beans.xml is not parsed. Below an example of beans.xml used.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="all" > <alternatives> <class>${test:beans.InitBean}</class> </alternatives> </beans>