1 Reply Latest reply on Jul 26, 2012 5:41 AM by jaikiran pai

    System properties and EJB 3.1 MDB config

    Vladimir Kishlaly Newbie

      As I know, activation properties for message-driven beans can be applied using these two ways (or in their intersections):


      1) with annotations

      2) with ejb-jar.xml deployment descriptor


      In AS7 I met system properties approach setted in standalone.xml (or domain.xml) like following:



         <property name="testProp" value="test"/>



      and anywhere in code this property can be obtained with System.getProperty("testProp").

      The main (and I believe a quite wild idea) - whether I can to use such system property in MDB's activation config? For example:







      Are there any ways to implement such "placeholders-approach" in MDB's under AS7?