Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17921

[GSS] (7.3.z) Property inside beans.xml is not parsed using spec-descriptor-property-replacement on JBoss

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.3.0.GA
    • None
    • CDI / Weld
    • None

      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&gt;${test:beans.InitBean}</class&gt;
          </alternatives>
      </beans>
      

              manovotn Matěj Novotný
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: