2 Replies Latest reply on Jun 1, 2017 2:48 AM by Juergen Weber

    feature request: per application Expressions

    Juergen Weber Newbie

      Wildfly supports Expression Substitution in descriptors [1]. These expressions are server global.

       

      This should be enhanced to support application scoped expressions:

       

      ${this:queuename}

       

      Then you could deploy the same Message Driven Bean multiple times with a different name:

       

      myMDB1.ear

      myMDB2.ear

       

      and define

       

      <application-properties>
      <application name="myMDB1.ear">
      <property name="queuename" value="DEV_QUEUE_1"/>
      </application>
      <application name="myMDB2.ear">
      <property name="queuename" value="PROD_QUEUE_1"/>
      </application>
      </application-properties>

       

      [1] Expressions - WildFly 10 - Project Documentation Editor